|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
overrideprotectedvirtual |
Write the cluster_id descriptor when the operator needs one.
A no-op call when m_needs_cluster_id is false. hash_cluster_id's underlying allocation is fixed-size for the buffer's whole lifetime (NetworkGeometryBuffer::declare_state never resizes a declared state field the way the primary vertex buffer resizes), so a single write here each time descriptor sets are (re)created is sufficient; unlike NetworkStateFieldProcessor's own fields, nothing here needs rewriting every cycle for resize-safety.
Reimplemented from MayaFlux::Buffers::ShaderProcessor.
Definition at line 247 of file VertexFieldProcessor.cpp.
References MayaFlux::Portal::Graphics::get_shader_foundry(), MayaFlux::Buffers::ShaderProcessor::m_descriptor_set_ids, m_needs_cluster_id, m_network_buffer, and m_operator.
Here is the call graph for this function: