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

◆ push_constant_layout()

Kakshya::GpuBlockLayout MayaFlux::Portal::Graphics::push_constant_layout ( const std::vector< PushConstantField > &  fields)
inline

Offsets and total size of a push constant block, under std430.

Definition at line 325 of file ShaderSpec.hpp.

327{
328 std::vector<Kakshya::GpuDataFormat> formats;
329 formats.reserve(fields.size());
330 for (const auto& field : fields)
331 formats.push_back(field.format);
332 return Kakshya::gpu_block_layout(formats);
333}
bool format

References MayaFlux::Kakshya::gpu_block_layout().

Referenced by MayaFlux::Portal::Graphics::ShaderSpec::Assemble::build(), and MayaFlux::Buffers::ShaderProcessor::feed().

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