MLPixelFormat Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the format of the color data for each pixel in the image.
public enum MLPixelFormat
type MLPixelFormat =
Public Enum MLPixelFormat
- Inheritance
-
MLPixelFormat
Fields
Name | Value | Description |
---|---|---|
Unknown | 0 | The pixel format is unknown. |
Bgra32 | 1 | Specifies that the format is 32 bits per pixel; 8 bits each are used for the blue, green, red, and alpha components. The color components are stored in blue, green, red, and alpha order |
Rgba32 | 2 | Specifies that the format is 32 bits per pixel; 8 bits each are used for the red, green, blue, and alpha components. The color components are stored in red, green, blue, and alpha order |