Home -> ITextureBuffer -> SourceDataFormat
Description
The SourceDataFormat enumeration describes the data encoding of image data supplied from CPU memory. It can differ from the allocated DataFormat when the renderer supports conversion between the two encodings.
Members
| Name | Description | |
|---|---|---|
| Int8 |
Supplies each component as an 8-bit signed integer.
|
|
| Int16 |
Supplies each component as a 16-bit signed integer.
|
|
| Int32 |
Supplies each component as a 32-bit signed integer.
|
|
| UInt8 |
Supplies each component as an 8-bit unsigned integer.
|
|
| UInt16 |
Supplies each component as a 16-bit unsigned integer.
|
|
| UInt32 |
Supplies each component as a 32-bit unsigned integer.
|
|
| Norm8 |
Supplies each component as an 8-bit signed normalized value.
|
|
| Norm16 |
Supplies each component as a 16-bit signed normalized value.
|
|
| Norm32 |
Supplies each component as a 32-bit signed normalized value.
|
|
| UNorm8 |
Supplies each component as an 8-bit unsigned normalized value.
|
|
| UNorm16 |
Supplies each component as a 16-bit unsigned normalized value.
|
|
| UNorm32 |
Supplies each component as a 32-bit unsigned normalized value.
|
|
| Float16 |
Supplies each component as a 16-bit floating point value.
|
|
| Float32 |
Supplies each component as a 32-bit floating point value.
|
|
| DXT1 |
Supplies image data using DXT1 or BC1 block compression.
|
|
| DXT3 |
Supplies image data using DXT3 or BC2 block compression.
|
|
| DXT5 |
Supplies image data using DXT5 or BC3 block compression.
|
|
| BPTC |
Supplies image data using BPTC or BC7-style block compression where supported.
|
|
| ETC2 |
Supplies image data using ETC2 block compression where supported.
|
|
| ASTC4x4 |
Supplies image data using ASTC compression with 4 by 4 pixel blocks.
|
|
| ASTC5x5 |
Supplies image data using ASTC compression with 5 by 5 pixel blocks.
|
|
| ASTC6x6 |
Supplies image data using ASTC compression with 6 by 6 pixel blocks.
|
|
| ASTC8x8 |
Supplies image data using ASTC compression with 8 by 8 pixel blocks.
|