Interface GPUMultisampleState

    interface GPUMultisampleState {
        alphaToCoverageEnabled?: boolean;
        count?: number;
        mask?: number;
    }

    Properties

    alphaToCoverageEnabled?: boolean

    When true indicates that a fragment's alpha channel should be used to generate a sample coverage mask.

    count?: number

    Number of samples per pixel. This GPURenderPipeline will be compatible only with attachment textures (GPURenderPassDescriptor#colorAttachments and GPURenderPassDescriptor#depthStencilAttachment) with matching GPUTextureDescriptor#sampleCounts.

    mask?: number

    Mask determining which samples are written to.