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