GPUMultisampleState¶
interface GPUMultisampleState
Properties¶
alphaToCoverageEnabled¶
abstract val alphaToCoverageEnabled: Boolean
When true indicates that a fragment’s alpha channel should be used to generate a sample coverage mask.
count¶
Number of samples per pixel. This GPURenderPipeline will be compatible only with attachment textures (colorAttachments and depthStencilAttachment) with matching sampleCounts.
mask¶
abstract val mask: GPUSampleMask
Mask determining which samples are written to.
See [GPUMultisampleState.mask in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gpumultisamplestate-mask).