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

◆ setup_rendering()

void MayaFlux::Buffers::TextureArrayBuffer::setup_rendering ( const RenderConfig &  config)
overridevirtual

Setup rendering with RenderProcessor.

Parameters
configRendering configuration

Reimplemented from MayaFlux::Buffers::TextureBuffer.

Definition at line 55 of file TextureArrayBuffer.cpp.

56{
59
60 if (const auto processor = get_render_processor()) {
61 processor->set_push_constant_size(m_custom_push.empty() ? sizeof(Push) : m_custom_push.size());
62 }
63 flush_push();
65}
bool size
virtual void setup_rendering(const RenderConfig &config)
Setup rendering with RenderProcessor.
virtual std::shared_ptr< RenderProcessor > get_render_processor() const
Get a RenderProcessor suitable for rendering this buffer.
Definition VKBuffer.hpp:605

References bind_layer_data(), ensure_array(), flush_push(), MayaFlux::Buffers::VKBuffer::get_render_processor(), m_custom_push, and MayaFlux::Buffers::TextureBuffer::setup_rendering().

+ Here is the call graph for this function: