|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::VolumeGridBuffer::setup_rendering | ( | const RenderConfig & | config | ) |
Attach a RenderProcessor drawing the extracted surface.
| config | Render target. Vertex and fragment shaders default to the untextured triangle pair; topology is forced to TRIANGLE_LIST. |
Requires a SurfaceConfig at construction. Without one this buffer has no vertex storage and nothing to draw.
Definition at line 250 of file VolumeGridBuffer.cpp.
References MayaFlux::Buffers::VKBuffer::apply_render_config(), MayaFlux::Journal::Buffers, MayaFlux::Portal::Graphics::RenderConfig::fragment_shader, MayaFlux::Buffers::VKBuffer::get_processing_chain(), MayaFlux::Journal::Init, MayaFlux::Buffers::VKBuffer::m_render_processor, m_surface, MF_ERROR, MayaFlux::Buffers::VKBuffer::set_needs_depth_attachment(), MayaFlux::Portal::Graphics::RenderConfig::topology, MayaFlux::Portal::Graphics::TRIANGLE_LIST, and MayaFlux::Portal::Graphics::RenderConfig::vertex_shader.
Here is the call graph for this function: