NSUNI/NSLAR Library a250670
Loading...
Searching...
No Matches
nnl::vertexde::fmt_code Namespace Reference

This namespace defines constants that represent fundamental format codes. More...

Variables

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

Detailed Description

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

Variable Documentation

◆ k0

u32 nnl::vertexde::fmt_code::k0 = 0
constexpr

no component

◆ k16

u32 nnl::vertexde::fmt_code::k16 = 2
constexpr

2 byte component

◆ k32

u32 nnl::vertexde::fmt_code::k32 = 3
constexpr

4 byte component

◆ k4444

u32 nnl::vertexde::fmt_code::k4444 = 6
constexpr

2 byte color

◆ k5551

u32 nnl::vertexde::fmt_code::k5551 = 5
constexpr

2 byte color

◆ k565

u32 nnl::vertexde::fmt_code::k565 = 4
constexpr

2 byte color

◆ k8

u32 nnl::vertexde::fmt_code::k8 = 1
constexpr

1 byte component

◆ k8888

u32 nnl::vertexde::fmt_code::k8888 = 7
constexpr

4 byte color