Home -> ITextureBuffer -> DataFormat
Description
The DataFormat enumeration defines the physical encoding used for each allocated texture component or compressed texture cell. It is paired with ImageFormat when SetTextureFormat is called.
Members
| Name | Description | |
|---|---|---|
| Int8 |
Stores each component as an 8-bit signed integer.
|
|
| Int16 |
Stores each component as a 16-bit signed integer.
|
|
| Int32 |
Stores each component as a 32-bit signed integer.
|
|
| UInt8 |
Stores each component as an 8-bit unsigned integer.
|
|
| UInt16 |
Stores each component as a 16-bit unsigned integer.
|
|
| UInt32 |
Stores each component as a 32-bit unsigned integer.
|
|
| Norm8 |
Stores each component as an 8-bit signed normalized value.
|
|
| Norm16 |
Stores each component as a 16-bit signed normalized value.
|
|
| UNorm8 |
Stores each component as an 8-bit unsigned normalized value.
|
|
| UNorm16 |
Stores each component as a 16-bit unsigned normalized value.
|
|
| Float16 |
Stores each component as a 16-bit floating point value.
|
|
| Float32 |
Stores each component as a 32-bit floating point value.
|
|
| DXT1 |
Stores image data using DXT1 or BC1 block compression.
|
|
| DXT3 |
Stores image data using DXT3 or BC2 block compression.
|
|
| DXT5 |
Stores image data using DXT5 or BC3 block compression.
|
|
| BPTC |
Stores image data using BPTC or BC7-style block compression where supported.
|
|
| ETC2 |
Stores image data using ETC2 block compression where supported.
|
|
| ASTC4x4 |
Stores image data using ASTC compression with 4 by 4 pixel blocks.
|
|
| ASTC5x5 |
Stores image data using ASTC compression with 5 by 5 pixel blocks.
|
|
| ASTC6x6 |
Stores image data using ASTC compression with 6 by 6 pixel blocks.
|
|
| ASTC8x8 |
Stores image data using ASTC compression with 8 by 8 pixel blocks.
|
|
| DepthUNorm16 |
Stores depth as a 16-bit unsigned normalized value.
|
|
| DepthUNorm24 |
Stores depth as a 24-bit unsigned normalized value.
|
|
| DepthUNorm24StencilUInt8 |
Stores combined 24-bit unsigned normalized depth and 8-bit unsigned integer stencil data.
|
|
| DepthFloat32 |
Stores depth as a 32-bit floating point value.
|
|
| DepthFloat32StencilUInt8 |
Stores combined 32-bit floating point depth and 8-bit unsigned integer stencil data.
|