This namespace defines constants that represent fundamental format codes.
More...
|
| constexpr u32 | k0 = 0 |
| | no component
|
| constexpr u32 | k8 = 1 |
| | 1 byte component
|
| constexpr u32 | k16 = 2 |
| | 2 byte component
|
| constexpr u32 | k32 = 3 |
| | 4 byte component
|
| constexpr u32 | k565 = 4 |
| | 2 byte color
|
| constexpr u32 | k5551 = 5 |
| | 2 byte color
|
| constexpr u32 | k4444 = 6 |
| | 2 byte color
|
| constexpr u32 | k8888 = 7 |
| | 4 byte color
|
This namespace defines constants that represent fundamental format codes.
- Note
- The codes in this namespace are not final values; they must be shifted to obtain the actual vertex format constants.
- See also
- nnl::vertexde::fmt
-
nnl::vertexde::fmt_shift
◆ k0
| u32 nnl::vertexde::fmt_code::k0 = 0 |
|
constexpr |
◆ k16
| u32 nnl::vertexde::fmt_code::k16 = 2 |
|
constexpr |
◆ k32
| u32 nnl::vertexde::fmt_code::k32 = 3 |
|
constexpr |
◆ k4444
| u32 nnl::vertexde::fmt_code::k4444 = 6 |
|
constexpr |
◆ k5551
| u32 nnl::vertexde::fmt_code::k5551 = 5 |
|
constexpr |
◆ k565
| u32 nnl::vertexde::fmt_code::k565 = 4 |
|
constexpr |
◆ k8
| u32 nnl::vertexde::fmt_code::k8 = 1 |
|
constexpr |
◆ k8888
| u32 nnl::vertexde::fmt_code::k8888 = 7 |
|
constexpr |