MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ flush_push()

void MayaFlux::Buffers::TextureArrayBuffer::flush_push ( )
private

Definition at line 346 of file TextureArrayBuffer.cpp.

347{
348 const auto processor = get_render_processor();
349 if (!processor) {
350 return;
351 }
352
353 if (m_custom_push.empty()) {
354 processor->set_push_constant_data(m_push);
355 } else {
356 processor->set_push_constant_data_raw(m_custom_push.data(), m_custom_push.size());
357 }
358}
virtual std::shared_ptr< RenderProcessor > get_render_processor() const
Get a RenderProcessor suitable for rendering this buffer.
Definition VKBuffer.hpp:605

References MayaFlux::Buffers::VKBuffer::get_render_processor(), m_custom_push, and m_push.

Referenced by set_mode(), set_push_constants(), set_weight(), set_weights(), and setup_rendering().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: