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

◆ get_live_vertex_count()

std::optional< uint32_t > MayaFlux::Buffers::VolumeGridBuffer::get_live_vertex_count ( ) const

The live vertex count of the extracted surface from the most recent dispatch.

The buffer's allocation is worst-case capacity, not this count.

Returns
The count, or nullopt when no surface is configured or its counter is not mapped.

Definition at line 764 of file VolumeGridBuffer.cpp.

765{
766 return m_mesh_processor ? m_mesh_processor->live_vertex_count() : std::nullopt;
767}
std::shared_ptr< SDFMeshProcessor > m_mesh_processor

References m_mesh_processor.