Home -> VertexAttribute -> DataType
Description
The DataType enumeration identifies the scalar data encoding used by a vertex attribute entry. The vector width is reported separately by GetAttributeElementCount.
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.
|
|
| A2B10G10R10UNorm |
Stores a packed four-component unsigned normalized value with 2 bits of alpha and 10 bits each for blue, green, and red.
|