|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
private |
Size the push constant block to at least GridExtent and write the attached grid's dimensions into its leading 8 bytes.
Called from on_attach, the first point at which grid dimensions are known. A ShaderSpec-constructed processor already carries spec.push_constant_bytes in m_config; that size is preserved and only the leading extent fields are written, leaving trailing rule parameters available to set_push_constant_data_raw at any offset past sizeof(GridExtent).
Definition at line 58 of file RelaxationStepProcessor.cpp.
References MayaFlux::Buffers::ShaderProcessor::get_push_constant_data(), MayaFlux::Buffers::ShaderProcessor::m_config, m_grid, MayaFlux::Buffers::ShaderConfig::push_constant_size, MayaFlux::Buffers::ShaderProcessor::set_push_constant_size(), and MayaFlux::Buffers::RelaxationStepProcessor::GridExtent::width.
Referenced by on_attach().
Here is the call graph for this function:
Here is the caller graph for this function: