MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Buffers::GeometryBindingsProcessor::GeometryBinding Struct Reference

Holds GPU resources for one GeometryWriterNode binding. More...

#include <GeometryBindingsProcessor.hpp>

+ Collaboration diagram for MayaFlux::Buffers::GeometryBindingsProcessor::GeometryBinding:

Public Attributes

std::shared_ptr< VKBuffergpu_index_buffer
 
std::shared_ptr< VKBuffergpu_vertex_buffer
 
std::shared_ptr< VKBufferindex_staging_buffer
 
std::shared_ptr< Nodes::GpuSync::GeometryWriterNodenode
 
std::shared_ptr< VKBufferstaging_buffer
 

Detailed Description

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.


The documentation for this struct was generated from the following file: