MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ supports_incremental_upload()

virtual bool MayaFlux::Nodes::Network::GraphicsOperator::supports_incremental_upload ( ) const
inlinevirtual

Whether every vertex mutation on this operator sets a group's dirty flag, so dirty_vertex_ranges() is the complete record of what changed since the last mark_vertex_data_clean().

False by default: a consumer must re-upload the whole buffer. True for operators (PathOperator, TopologyOperator) whose per-group flags are authoritative, letting a consumer upload only the reported ranges and then call mark_vertex_data_clean(). An operator that reports true must also route every path through which its vertices change (add, edit, clear, interpolation-parameter changes) to a group dirty flag.

Reimplemented in MayaFlux::Nodes::Network::PathOperator, and MayaFlux::Nodes::Network::TopologyOperator.

Definition at line 102 of file GraphicsOperator.hpp.

102{ return false; }

Referenced by MayaFlux::Buffers::NetworkGeometryProcessor::try_incremental_upload().

+ Here is the caller graph for this function: