Skip to content

Documentation / device / SamplerBindingLayout

Interface: SamplerBindingLayout

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

Binding layout of a sampler

Properties

type

type: "filtering" | "non-filtering" | "comparison"

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

The bind type


staticOptions?

optional staticOptions?: SamplerOptions

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

Static sampler configuration for shared auto-bound samplers declared with withSampler(); when present, the bind group creates and binds the sampler automatically instead of deriving it from a texture.

Released under the MIT License.