An object defining all possible SamplerBinding class instancing parameters

interface SamplerBindingParams {
    label?: string;
    name?: string;
    visibility?: MaterialShadersType[];
    bindingType?: "sampler";
    sampler: GPUSampler;
    type: GPUSamplerBindingType;
}

Hierarchy (View Summary)

Properties

label?: string

Binding label.

name?: string

Binding name/key.

visibility?: MaterialShadersType[]

Binding variables shaders visibility as an array of shaders types names.

bindingType?: "sampler"

The binding type of the SamplerBinding

sampler: GPUSampler
type: GPUSamplerBindingType

The bind group layout binding type of this GPU sampler