|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
private |
Upload only the vertex sub-ranges a multi-group primary operator reports as dirty, instead of rebuilding the whole buffer.
An empty dirty-range list still returns true, skipping the upload entirely, so the caller must not invoke this while a downstream pass rewrites those vertex bytes in place each cycle.
Definition at line 284 of file NetworkGeometryProcessor.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Nodes::Network::GraphicsOperator::dirty_vertex_ranges(), ensure_staging(), MayaFlux::Nodes::Network::GraphicsOperator::get_vertex_data_for_collection(), MayaFlux::Buffers::NetworkGeometryProcessor::NetworkBinding::last_total_bytes, MayaFlux::Nodes::Network::GraphicsOperator::mark_vertex_data_clean(), MF_RT_TRACE, name, offset, MayaFlux::Buffers::NetworkGeometryProcessor::NetworkBinding::staging_buffer, MayaFlux::Nodes::Network::GraphicsOperator::supports_incremental_upload(), and MayaFlux::Buffers::upload_to_gpu().
Referenced by processing_function().
Here is the call graph for this function:
Here is the caller graph for this function: