Type Alias naga::back::PipelineConstants

source ·
pub type PipelineConstants = HashMap<String, f64>;
Expand description

Specifies the values of pipeline-overridable constants in the shader module.

If an @id attribute was specified on the declaration, the key must be the pipeline constant ID as a decimal ASCII number; if not, the key must be the constant’s identifier name.

The value may represent any of WGSL’s concrete scalar types.

Aliased Type§

struct PipelineConstants { /* private fields */ }