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

◆ set_resolution()

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

Rebuild owned buffers to match a new resolution.

Must be called before the next frame when resolution changes.

Definition at line 16 of file SDFPrepProcessor.cpp.

17{
18 m_res_x = std::max(res_x, 1U);
19 m_res_y = std::max(res_y, 1U);
20 m_res_z = std::max(res_z, 1U);
22}

References m_res_x, m_res_y, m_res_z, and rebuild_buffers().

+ Here is the call graph for this function: