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

◆ counter_buf()

std::shared_ptr< VKBuffer > MayaFlux::Buffers::SDFMeshProcessor::counter_buf ( ) const
inline

Atomic vertex counter buffer, host-visible in both construction modes: owned and zeroed here when this processor evaluates its own field, or owned by SDFPrepProcessor and passed in for the GPU-field construction mode.

Read via get_mapped_ptr() for the true live vertex count after a dispatch, which is the count a readback of the owning VKBuffer must be sized to rather than the buffer's own worst-case allocated capacity.

Definition at line 127 of file SDFMeshProcessor.hpp.

127{ return m_counter_buf; }
std::shared_ptr< VKBuffer > m_counter_buf