Skip to main content

Type Alias: ShaderBindingDebugRow

ShaderBindingDebugRow = object

Defined in: lib/shader-assembly/wgsl-binding-debug.ts:26

One debug row describing a WGSL binding in the assembled shader source.

Properties​

access?​

optional access?: string

Defined in: lib/shader-assembly/wgsl-binding-debug.ts:49

WGSL access mode when cheaply available.


binding​

binding: number

Defined in: lib/shader-assembly/wgsl-binding-debug.ts:32

Binding slot within the bind group.


group​

group: number

Defined in: lib/shader-assembly/wgsl-binding-debug.ts:30

Bind-group index.


kind​

kind: "uniform" | "storage" | "read-only-storage" | "texture" | "sampler" | "storage-texture" | "unknown"

Defined in: lib/shader-assembly/wgsl-binding-debug.ts:34

Resource kind inferred from the WGSL declaration.


moduleName?​

optional moduleName?: string

Defined in: lib/shader-assembly/wgsl-binding-debug.ts:45

Shader module name when the binding was contributed by a module.


multisampled?​

optional multisampled?: boolean

Defined in: lib/shader-assembly/wgsl-binding-debug.ts:57

Whether the texture is multisampled when cheaply available.


name​

name: string

Defined in: lib/shader-assembly/wgsl-binding-debug.ts:28

Binding name as declared in WGSL.


owner​

owner: "application" | "module"

Defined in: lib/shader-assembly/wgsl-binding-debug.ts:43

Whether the binding came from application WGSL or a shader module.


resourceType?​

optional resourceType?: string

Defined in: lib/shader-assembly/wgsl-binding-debug.ts:47

Full WGSL resource type text from the declaration.


samplerKind?​

optional samplerKind?: string

Defined in: lib/shader-assembly/wgsl-binding-debug.ts:55

Sampler kind when cheaply available.


sampleType?​

optional sampleType?: string

Defined in: lib/shader-assembly/wgsl-binding-debug.ts:53

Texture sample type when cheaply available.


viewDimension?​

optional viewDimension?: string

Defined in: lib/shader-assembly/wgsl-binding-debug.ts:51

Texture view dimension when cheaply available.