AdvancedThe value used when the descriptor's overrides gives none
Optionalrequired?: neverNot allowed alongside default
The constant's scalar type
Optionaldefault?: neverNot allowed alongside required
The descriptor's overrides must give a value, or the shader fails to build
The constant's scalar type
A specialization constant a bit declares: a
default, orrequired: trueThe value comes from ShaderDescriptorOptions#overrides. Bits that declare the same constant must agree on its type, whether it's required, and its default, or the compile throws.