GPUMultisampleState constructor

GPUMultisampleState({
  1. int count,
  2. int mask,
  3. bool alphaToCoverageEnabled,
})

count has to equal the sample count of every attachment the pipeline will be used with, which is why it is part of WebGpuPipelineKey.

Implementation

external factory GPUMultisampleState({
  int count,
  int mask,
  bool alphaToCoverageEnabled,
});