Describes the multi-sampling state of a render pipeline.
Corresponds to WebGPU
The number of samples calculated per pixel (for MSAA). For non-multisampled textures,
this should be
Bitmask that restricts the samples of a pixel modified by this pipeline. All samples
can be enabled using the value
When enabled, produces another sample mask per pixel based on the alpha output value, that is ANDed with the sample_mask and the primitive coverage to restrict the set of samples affected by a primitive.
The implicit mask produced for alpha of zero is guaranteed to be zero, and for alpha of one is guaranteed to be all 1-s.
Auto Trait Implementations§
trueif they are equal.
Returns the argument unchanged.