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

◆ reserve_param_size()

void MayaFlux::Buffers::VolumeFieldProcessor::reserve_param_size ( size_t  size)
protected

Raise the push constant block to at least this size.

Parameters
sizeByte count the subclass's full parameter struct occupies.

Called from the subclass constructor. The base raises the block to sizeof(LatticeParams) independently.

Definition at line 60 of file VolumeFieldProcessor.cpp.

61{
62 if (m_config.push_constant_size < size) {
64 }
65}
void set_push_constant_size()
Set push constant size from type.

References MayaFlux::Buffers::ShaderProcessor::m_config, MayaFlux::Buffers::ShaderConfig::push_constant_size, and MayaFlux::Buffers::ShaderProcessor::set_push_constant_size().

Referenced by on_attach(), MayaFlux::Buffers::AdvectProcessor::on_volume_ready(), MayaFlux::Buffers::BuoyancyProcessor::on_volume_ready(), and MayaFlux::Buffers::InfluxProcessor::on_volume_ready().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: