Interface GPURenderPassLayout

    interface GPURenderPassLayout {
        colorFormats: Iterable<GPUTextureFormat, any, any>;
        depthStencilFormat?: GPUTextureFormat;
        label?: string;
        sampleCount?: number;
    }
    Hierarchy

    Properties

    colorFormats: Iterable<GPUTextureFormat, any, any>

    A list of the GPUTextureFormats of the color attachments for this pass or bundle.

    depthStencilFormat?: GPUTextureFormat

    The GPUTextureFormat of the depth/stencil attachment for this pass or bundle.

    label?: string

    The initial value of GPUObjectBase.label.

    sampleCount?: number

    Number of samples per pixel in the attachments for this pass or bundle.