Data Fields | |
| double | r |
| double | g |
| double | b |
| double | a |
An RGBA color. Represents a f32, i32, or u32 color using Double-as-Supertype.
If any channel is non-finite, produces a Non-Finite Float Value Errors.
Default values can be set using WGPU_COLOR_INIT as initializer.