Documentation
    Preparing search index...

    Interface WgpuTextureRecord

    Everything one cached texture needs at draw time.

    interface WgpuTextureRecord {
        bindGroup: object;
        byteLength: number;
        levels: number;
        sampler: object;
        texture: GpuTexture;
        version: number;
        view: object;
    }
    Index
    bindGroup: object

    Group 1's bind group: this texture and its sampler (wgpu-bindings.ts).

    byteLength: number

    Bytes this record describes (§84) — see textureByteLength.

    levels: number

    Levels allocated: the full chain, or 1.

    sampler: object

    The shared sampler for this texture's §77 state.

    texture: GpuTexture

    The allocation.

    version: number

    Texture.version this record was uploaded from.

    view: object

    A view of the whole texture — what the bind group binds.