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

◆ PresentProcessor() [1/2]

MayaFlux::Buffers::PresentProcessor::PresentProcessor ( RenderCallback  callback)

Creates a render processor with a callback function.

Parameters
callbackFunction to execute for rendering operations

The callback will be invoked during processing_function() with access to the RootGraphicsBuffer and all its processed child buffers.

Definition at line 101 of file RootGraphicsBuffer.cpp.

102 : m_callback(std::move(callback))
103 , m_root_buffer(nullptr)
104{
106}
RenderCallback m_callback
User-provided render callback.
std::shared_ptr< RootGraphicsBuffer > m_root_buffer
Reference to root buffer (for validation and callbacks)
@ GRAPHICS_BACKEND
Standard graphics processing backend configuration.

References MayaFlux::Buffers::GRAPHICS_BACKEND, and MayaFlux::Buffers::BufferProcessor::m_processing_token.