Documentation / device / TextureBindingLayout
Interface: TextureBindingLayout
Defined in: libs/device/src/gpuobject.ts:1165
Binding layout of a texture for sampling
Properties
sampleType
sampleType:
"float"|"unfilterable-float"|"depth"|"sint"|"uint"
Defined in: libs/device/src/gpuobject.ts:1167
Sample type of the texture
viewDimension
viewDimension:
"1d"|"2d"|"2d-array"|"cube"|"cube-array"|"3d"
Defined in: libs/device/src/gpuobject.ts:1169
View dimension for the texture
multisampled
multisampled:
boolean
Defined in: libs/device/src/gpuobject.ts:1171
Whether the textur is a multisampled texture
autoBindSampler
autoBindSampler:
string
Defined in: libs/device/src/gpuobject.ts:1173
name of the default sampler uniform when using WebGPU device
autoBindSamplerComparison
autoBindSamplerComparison:
string
Defined in: libs/device/src/gpuobject.ts:1175
name of the default comparison sampler uniform when using WebGPU device