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

◆ set_resolution()

void MayaFlux::Buffers::SDFMeshProcessor::set_resolution ( uint32_t  res_x,
uint32_t  res_y,
uint32_t  res_z 
)

Replace the grid resolution and mark dirty.

Triggers recreation of the grid and counter buffers on the next attach or dirty frame. Descriptor rebuild is forced.

Definition at line 98 of file SDFMeshProcessor.cpp.

References m_dirty, MayaFlux::Buffers::ShaderProcessor::m_needs_descriptor_rebuild, m_res_x, m_res_y, m_res_z, and rebuild_owned_buffers().

+ Here is the call graph for this function: