|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::GeometryBindingsProcessor::bind_geometry_node | ( | const std::string & | name, |
| const std::shared_ptr< Nodes::GpuSync::GeometryWriterNode > & | node, | ||
| const std::shared_ptr< VKBuffer > & | vertex_buffer | ||
| ) |
Bind a geometry node to a GPU vertex buffer.
| name | Logical name for this binding |
| node | GeometryWriterNode to read vertices from |
| vertex_buffer | GPU vertex buffer to upload to |
If vertex_buffer is device-local, a staging buffer is automatically created. If vertex_buffer is host-visible, no staging is needed.
Definition at line 15 of file GeometryBindingsProcessor.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Buffers::create_staging_buffer(), m_bindings, MF_DEBUG, MF_WARN, and MayaFlux::Buffers::GeometryBindingsProcessor::GeometryBinding::node.
Here is the call graph for this function: