OverrideInfo
인터페이스, 리플렉션 분류
A pipeline specialization constant the host supplies when it creates a pipeline.
import type { OverrideInfo } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
interface OverrideInfo { readonly name: string; readonly type: string; readonly default: number | boolean;}설명
A pipeline specialization constant (a WGSL override) the host supplies when it creates
a pipeline. Both backends’ host-side shapes derive from it: the WGSL constants
dictionary is { [name]: value }, and the GLSL #define header is one
#define <name> <value> line per entry. Both are keyed by name and fall back to
default when the host supplies nothing.
인스턴스 속성
name읽기 전용stringtype읽기 전용stringdefault읽기 전용number | boolean
소스
src/core/reflect.ts, 580행, 커밋 c66579bf 기준