Dela via


MLPixelFormat Enum

Definition

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

Applies to