Interface GPUBlendComponent

    interface GPUBlendComponent {
        dstFactor?: GPUBlendFactor;
        operation?: GPUBlendOperation;
        srcFactor?: GPUBlendFactor;
    }

    Properties

    dstFactor?: GPUBlendFactor

    Defines the GPUBlendFactor operation to be performed on values from the target attachment.

    operation?: GPUBlendOperation

    Defines the GPUBlendOperation used to calculate the values written to the target attachment components.

    srcFactor?: GPUBlendFactor

    Defines the GPUBlendFactor operation to be performed on values from the fragment shader.