Documentation
    Preparing search index...

    Interface GpuBindGroupLayoutEntry

    One entry of a bind-group layout — see wgpu-bindings.ts.

    interface GpuBindGroupLayoutEntry {
        binding: number;
        buffer?: {
            hasDynamicOffset?: boolean;
            minBindingSize?: number;
            type: "uniform" | "storage" | "read-only-storage";
        };
        sampler?: { type: string };
        texture?: { sampleType: string; viewDimension: string };
        visibility: number;
    }
    Index
    binding: number

    Binding number, matching the shader's @binding.

    buffer?: {
        hasDynamicOffset?: boolean;
        minBindingSize?: number;
        type: "uniform" | "storage" | "read-only-storage";
    }

    Buffer binding shape — group 0's uniform block.

    sampler?: { type: string }

    Sampler binding shape — group 1's mapSampler (§77).

    texture?: { sampleType: string; viewDimension: string }

    Sampled-texture binding shape — group 1's map (§77).

    visibility: number

    Bit set from GPU_SHADER_STAGE.