gpu-curtains
    Preparing search index...

    An object defining all possible TextureBindGroup class instancing parameters

    interface TextureBindGroupParams {
        textures?: MaterialTexture[];
        samplers?: Sampler[];
        uniforms?: ReadOnlyInputBindings;
        storages?: ReadWriteInputBindings;
        bindings?: BindGroupBindingElement[];
        label?: string;
        index?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    textures?: MaterialTexture[]

    array of textures to add to a TextureBindGroup

    samplers?: Sampler[]

    array of Sampler to add to a TextureBindGroup

    Uniforms input to pass to a BindGroup.

    Read only or read/write storages input to pass to a BindGroup.

    Array of already created bindings (buffers, texture, etc.) to pass to this BindGroup.

    label?: string

    BindGroup label.

    index?: number

    BindGroup index (used to generate shader code).