Skip to content

Documentation / device / TextureBindingLayout

Interface: TextureBindingLayout

Defined in: libs/device/src/gpuobject.ts:1156

Binding layout of a texture for sampling

Properties

sampleType

sampleType: "float" | "unfilterable-float" | "depth" | "sint" | "uint"

Defined in: libs/device/src/gpuobject.ts:1158

Sample type of the texture


viewDimension

viewDimension: "1d" | "2d" | "2d-array" | "cube" | "cube-array" | "3d"

Defined in: libs/device/src/gpuobject.ts:1160

View dimension for the texture


multisampled

multisampled: boolean

Defined in: libs/device/src/gpuobject.ts:1162

Whether the textur is a multisampled texture


autoBindSampler

autoBindSampler: string

Defined in: libs/device/src/gpuobject.ts:1164

name of the default sampler uniform when using WebGPU device


autoBindSamplerComparison

autoBindSamplerComparison: string

Defined in: libs/device/src/gpuobject.ts:1166

name of the default comparison sampler uniform when using WebGPU device

Released under the MIT License.