Home -> ITextureBuffer -> ImageFormat

Description

The ImageFormat enumeration defines the component layout and broad interpretation of pixels allocated for an ITextureBuffer. It is paired with a DataFormat when SetTextureFormat is called.

Members

Name Description
Public Enum R
Allocates one color component conventionally interpreted as red.
Public Enum RG
Allocates two color components conventionally interpreted as red and green.
Public Enum RGB
Allocates three color components conventionally interpreted as red, green, and blue.
Public Enum RGBA
Allocates four color components conventionally interpreted as red, green, blue, and alpha.
Public Enum BGR
Allocates three color components in blue, green, red order.
Public Enum BGRA
Allocates four color components in blue, green, red, alpha order.
Public Enum X
Allocates one generic component where color channel naming is not meaningful.
Public Enum XY
Allocates two generic components.
Public Enum XYZ
Allocates three generic components.
Public Enum XYZW
Allocates four generic components.
Public Enum Depth
Allocates a depth-only image format suitable for depth framebuffer attachments and depth sampling where supported.
Public Enum DepthAndStencil
Allocates a combined depth and stencil image format suitable for depth-stencil framebuffer attachments where supported.

See also