Data Fields | |
WGPUChainedStruct * | nextInChain |
WGPUStringView | key |
double | value |
Default values can be set using WGPU_CONSTANT_ENTRY_INIT as initializer.
WGPUChainedStruct* WGPUConstantEntry::nextInChain |
WGPUStringView WGPUConstantEntry::key |
This is a Non-Null Input String.
The INIT
macro sets this to WGPU_STRING_VIEW_INIT.
double WGPUConstantEntry::value |
Represents a WGSL numeric or boolean value using Double-as-Supertype.
If non-finite, produces a Non-Finite Float Value Errors.
The INIT
macro sets this to 0.
.