MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Graphics::GpuComputeConfig Struct Reference

Plain-data description of the compute shader to dispatch. More...

#include <ShaderUtils.hpp>

+ Collaboration diagram for MayaFlux::Portal::Graphics::GpuComputeConfig:

Public Attributes

size_t push_constant_size { 0 }
 
ShaderID shader_id { INVALID_SHADER }
 
std::string shader_path
 
std::array< uint32_t, 3 > workgroup_size { 256, 1, 1 }
 

Detailed Description

Plain-data description of the compute shader to dispatch.

Either shader_path or shader_id must be set. If shader_id is not INVALID_SHADER it takes precedence and shader_path is ignored, allowing callers who already hold a compiled ShaderID (e.g. from ShaderFoundry::load_shader(const ShaderSpec&)) to bypass file resolution entirely.

Definition at line 108 of file ShaderUtils.hpp.


The documentation for this struct was generated from the following file: