Expand description
§wgsl-types
Implementation of type-checking and constant evaluation of WGSL types.
The Type and Instance types provide type-checking and evaluation capabilities.
The crate is used by both wesl-rs and wgsl-analyzer, and developed conjointly by its authors.
Re-exports§
Modules§
- builtin
- Implementation and type-checking of built-in functions, constructors and operators.
- conv
- Type conversion algorithms.
- idents
- Static strings of all WGSL predeclared identifiers.
- inst
Instances of WGSLTypes.- syntax
- Basic representations of WGSL syntactic elements, such as enums, operators, and context-dependent names.
- tplt
- Built-in type-generator and function templates.
- ty
- WGSL
Types.
Structs§
- Call
Signature - Function call signature.
Enums§
- Error
- The global error struct.
- Shader
Stage - Shader compilation stage.