|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
Holds GPU resources for one GeometryWriterNode binding. More...
#include <GeometryBindingsProcessor.hpp>
Collaboration diagram for MayaFlux::Buffers::GeometryBindingsProcessor::GeometryBinding:Public Attributes | |
| std::shared_ptr< VKBuffer > | gpu_index_buffer |
| std::shared_ptr< VKBuffer > | gpu_vertex_buffer |
| std::shared_ptr< VKBuffer > | index_staging_buffer |
| std::shared_ptr< Nodes::GpuSync::GeometryWriterNode > | node |
| std::shared_ptr< VKBuffer > | staging_buffer |
Holds GPU resources for one GeometryWriterNode binding.
Index buffer and its staging are created lazily in bind_geometry_node() when the node already carries index data, and in processing_function() on the first frame that index data appears. Both are null for non-indexed geometry; RenderProcessor queries has_index_buffer() before deciding which draw path to use.
Definition at line 55 of file GeometryBindingsProcessor.hpp.