WGPUComposite Alpha Mode
Describes how frames are composited with other contents on the screen when wgpuSurfacePresent is called.
Entries
Lets the WebGPU implementation choose the best mode (supported, and with the best performance) between WGPUCompositeAlphaMode.Opaque or WGPUCompositeAlphaMode.Inherit.
The alpha component is respected and non-alpha components are assumed to be already multiplied with the alpha component. For example, (0.5, 0, 0, 0.5) is semi-transparent bright red.
The alpha component is respected and non-alpha components are assumed to NOT be already multiplied with the alpha component. For example, (1.0, 0, 0, 0.5) is semi-transparent bright red.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.