|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Portal::Graphics::RenderFlow::register_window_for_rendering | ( | const std::shared_ptr< Core::Window > & | window, |
| RenderPassID | render_pass_id | ||
| ) |
Associate a window with a render pass for rendering.
| window | Target window for rendering |
| render_pass_id | Render pass to use for this window |
The window must be registered with GraphicsSubsystem first. RenderFlow will query framebuffer/extent from DisplayService when needed.
Usage: auto rp = flow.create_simple_render_pass(); flow.register_window_for_rendering(my_window, rp);
Definition at line 898 of file RenderFlow.cpp.
References MayaFlux::Registry::Service::DisplayService::attach_render_pass, m_display_service, m_render_passes, m_window_associations, MF_ERROR, MF_INFO, MF_WARN, MayaFlux::Journal::Portal, MayaFlux::Portal::Graphics::RenderFlow::WindowRenderAssociation::render_pass_id, MayaFlux::Journal::Rendering, and MayaFlux::Portal::Graphics::RenderFlow::WindowRenderAssociation::window.
Referenced by MayaFlux::Buffers::RenderProcessor::initialize_pipeline().
Here is the caller graph for this function: