배리언트
export 17개
기능 축을 모듈 한 계열로 다룹니다. 조합마다 컴파일하고 링크해서 프로그램을 냅니다.
시그니처, 설명, 예제는 커밋 26de7be8의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
-
AxisValues타입 - One point in the axis space: each axis name mapped to one of its declared values.
-
composeModule함수 - Compose a module by filling its placeholder statements.
-
ComposeOptions인터페이스 - Options for composeModule.
-
GlLinker인터페이스 - The slice of WebGL2 that compiling and linking a program needs.
-
GuardDefines타입 - How to spell each axis value as a preprocessor define for emitGuarded.
-
linkVariants함수 - Emit, compile and link every variant of a family on a real WebGL2 context.
-
selectGuardedArm함수 - Recover the arm a set of defined macros selects from an emitGuarded source.
-
validateVariantsWgsl함수 - Validate every variant of a family through a real WGSL compiler.
-
Variant인터페이스 - One built variant.
-
variantFamily함수 - Build a family of shader variants from a typed axis matrix.
-
VariantFamily인터페이스 - A built family.
-
VariantFamilySpec인터페이스 - What variantFamily is given.
-
VariantLinkResult인터페이스 - What happened to one variant.
-
VariantWgslResult인터페이스 - What happened to one variant on the WGSL side.
-
WgslCompiled인터페이스 - A module that can report what its compilation produced; a GPUShaderModule satisfies it.
-
WgslMessage인터페이스 - One compilation message, narrowed to what a gate reports.
-
WgslValidator인터페이스 - The slice of GPUDevice that validating a WGSL module needs.