|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::RenderProcessor::set_buffer_vertex_layout | ( | const std::shared_ptr< VKBuffer > & | buffer, |
| const Kakshya::VertexLayout & | layout | ||
| ) |
Override the vertex layout used when building the pipeline for buffer.
| buffer | Target buffer (key into m_buffer_info) |
| layout | Layout specific to this processor's topology |
Called by CompositeGeometryBuffer to give each RenderProcessor its own topology-specific layout rather than the shared aggregate on the VKBuffer. Triggers a pipeline rebuild on the next execute_shader() call.
Definition at line 370 of file RenderProcessor.cpp.
References m_buffer_info, and MayaFlux::Buffers::ShaderProcessor::m_needs_pipeline_rebuild.