Enum WebGPUCompositeAlphaMode
- Namespace
- SixLabors.ImageSharp.Drawing.Processing.Backends
- Assembly
- SixLabors.ImageSharp.Drawing.WebGPU.dll
Specifies how the native compositor interprets alpha in a WebGPU surface.
public enum WebGPUCompositeAlphaMode
Fields
Auto = 0Allows WebGPU to select the surface composition mode.
Opaque = 1Ignores the surface alpha channel and presents every pixel as opaque.
Premultiplied = 2Presents color components that have already been multiplied by alpha.