Variants
17 members
Feature axes as one family of modules, compiled and linked point by point.
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
-
AxisValuesType - One point in the axis space: each axis name mapped to one of its declared values.
-
composeModuleFunction - Compose a module by filling its placeholder statements.
-
ComposeOptionsInterface - Options for composeModule.
-
GlLinkerInterface - The slice of WebGL2 that compiling and linking a program needs.
-
GuardDefinesType - How to spell each axis value as a preprocessor define for emitGuarded.
-
linkVariantsFunction - Emit, compile and link every variant of a family on a real WebGL2 context.
-
selectGuardedArmFunction - Recover the arm a set of defined macros selects from an emitGuarded source.
-
validateVariantsWgslFunction - Validate every variant of a family through a real WGSL compiler.
-
VariantInterface - One built variant.
-
variantFamilyFunction - Build a family of shader variants from a typed axis matrix.
-
VariantFamilyInterface - A built family.
-
VariantFamilySpecInterface - What variantFamily is given.
-
VariantLinkResultInterface - What happened to one variant.
-
VariantWgslResultInterface - What happened to one variant on the WGSL side.
-
WgslCompiledInterface - A module that can report what its compilation produced; a GPUShaderModule satisfies it.
-
WgslMessageInterface - One compilation message, narrowed to what a gate reports.
-
WgslValidatorInterface - The slice of GPUDevice that validating a WGSL module needs.