배리언트

배리언트

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.

이 페이지 편집 문제 보고