Interface GPUExtent3DDict

    interface GPUExtent3DDict {
        depthOrArrayLayers?: number;
        height?: number;
        width: number;
    }
    Hierarchy

    Properties

    depthOrArrayLayers?: number

    The depth of the extent or the number of array layers it contains. If used with a GPUTexture with a GPUTextureDimension of GPUTextureDimension#"3d" defines the depth of the texture. If used with a GPUTexture with a GPUTextureDimension of GPUTextureDimension#"2d" defines the number of array layers in the texture.

    height?: number

    The height of the extent.

    width: number

    The width of the extent.