BindGroup
인터페이스, 리플렉션 분류
The bind entries of one WGSL @group(N), sorted by binding.
import type { BindGroup } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
interface BindGroup { readonly group: number; readonly entries: readonly BindEntry[];}설명
Reflection.bindGroups
holds one of these per group the module declares, sorted by group; a module that
declares only @group(0) yields a single-element list. GLSL ES 3.00 has no notion of a
group; see BindEntry for how a GLSL host folds group into the binding point it
assigns.
인스턴스 속성
group읽기 전용numberentries읽기 전용readonly BindEntry[]
함께 보기
소스
src/core/reflect.ts, 464행, 커밋 c66579bf 기준