BindGroup
Interface in Reflection
The bind entries of one WGSL @group(N), sorted by binding.
import type { BindGroup } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
interface BindGroup { readonly group: number; readonly entries: readonly BindEntry[];}Description
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.
Instance properties
groupread onlynumberentriesread onlyreadonly BindEntry[]
See also
Source
src/core/reflect.ts, line 464, at commit 26de7be8