gpu-curtains
    Preparing search index...

    Define the parameters of a color attachment.

    interface ColorAttachmentParams {
        loadOp?: GPULoadOp;
        storeOp?: GPUStoreOp;
        clearValue?: GPUColor;
        targetFormat: GPUTextureFormat;
        depthSlice?: number;
    }
    Index

    Properties

    loadOp?: GPULoadOp

    The load operation to perform while drawing this RenderPass.

    storeOp?: GPUStoreOp

    The store operation to perform while drawing this RenderPass.

    clearValue?: GPUColor

    The color values to clear to before drawing this RenderPass.

    targetFormat: GPUTextureFormat

    Optional format of the color attachment texture.

    depthSlice?: number

    Indicates the depth slice index of the '3d' texture viewDimension view that will be output to for this color attachment.