|
NSUNI/NSLAR Library a250670
|
Namespaces | |
| namespace | nnl::vertexde::fmt_code |
| This namespace defines constants that represent fundamental format codes. | |
| namespace | nnl::vertexde::fmt_shift |
| This namespace contains constants representing shift values that are applied to format codes to create the vertex format constants. | |
| namespace | nnl::vertexde::fmt_mask |
| This namespace contains constants representing bit masks for parts of the vertex format. | |
Classes | |
| struct | nnl::vertexde::VertexLayout |
| Structure representing the layout of a vertex. More... | |
Functions | |
| u32 | nnl::vertexde::GetThrough (u32 vertex_format) |
| Retrieves the Through Mode status from the vertex format. | |
| u32 | nnl::vertexde::GetWeightFormat (u32 vertex_format) |
| Retrieves the weight format code from the vertex format. | |
| u32 | nnl::vertexde::GetWeightSize (u32 vertex_format) |
| Retrieves the byte size of a weight component from the vertex format. | |
| u32 | nnl::vertexde::GetWeightNum (u32 vertex_format) |
| Retrieves the number of weight components from the vertex format. | |
| u32 | nnl::vertexde::GetUVFormat (u32 vertex_format) |
| Retrieves the UV format code from the vertex format. | |
| u32 | nnl::vertexde::GetUVSize (u32 vertex_format) |
| Retrieves the byte size of a UV component from the vertex format. | |
| u32 | nnl::vertexde::GetUVNum (u32 vertex_format) |
| Retrieves the number of UV components. | |
| u32 | nnl::vertexde::GetColorFormat (u32 vertex_format) |
| Retrieves the color format code from the vertex format. | |
| u32 | nnl::vertexde::GetColorSize (u32 vertex_format) |
| Retrieves the byte size of a vertex color from the vertex format. | |
| u32 | nnl::vertexde::GetColorNum (u32 vertex_format) |
| Retrieves the number of colors. | |
| u32 | nnl::vertexde::GetNormalFormat (u32 vertex_format) |
| Retrieves the normal format code from the vertex format. | |
| u32 | nnl::vertexde::GetNormalSize (u32 vertex_format) |
| Retrieves the byte size of a normal component from the vertex format. | |
| u32 | nnl::vertexde::GetNormalNum (u32 vertex_format) |
| Retrieves the number of normal components from the vertex format. | |
| u32 | nnl::vertexde::GetPositionFormat (u32 vertex_format) |
| Retrieves the position format code from the vertex format. | |
| u32 | nnl::vertexde::GetPositionSize (u32 vertex_format) |
| Retrieves the byte size of a position component from the vertex format. | |
| u32 | nnl::vertexde::GetPositionNum (u32 vertex_format) |
| Retrieves the number of position components. | |
| u32 | nnl::vertexde::GetMorphNum (u32 vertex_format) |
| Retrieves the number of morph targets from the vertex format. | |
| u32 | nnl::vertexde::GetIndexFormat (u32 vertex_format) |
| Retrieves the index format code from the vertex format. | |
| u32 | nnl::vertexde::GetIndexSize (u32 vertex_format) |
| Retrieves the byte size of a single index from the vertex format. | |
| bool | nnl::vertexde::HasWeights (u32 vertex_format) |
| Checks if the vertex format includes weight information. | |
| bool | nnl::vertexde::HasUV (u32 vertex_format) |
| Checks if the vertex format includes UV information. | |
| bool | nnl::vertexde::HasColor (u32 vertex_format) |
| Checks if the vertex format includes color information. | |
| bool | nnl::vertexde::HasNormal (u32 vertex_format) |
| Checks if the vertex format includes normal information. | |
| bool | nnl::vertexde::HasPosition (u32 vertex_format) |
| Checks if the vertex format includes position information. | |
| bool | nnl::vertexde::IsIndexed (u32 vertex_format) |
| Checks if the vertex format uses indexed drawing. | |
| bool | nnl::vertexde::IsThrough (u32 vertex_format) |
| Checks if the vertex format uses Through Mode (2D drawing). | |
| bool | nnl::vertexde::Is8Indices (u32 vertex_format) |
| Checks if the vertex format uses 8-bit indices. | |
| bool | nnl::vertexde::Is16Indices (u32 vertex_format) |
| Checks if the vertex format uses 16-bit indices. | |
| bool | nnl::vertexde::Is8Weights (u32 vertex_format) |
| Checks if the vertex format uses 8-bit weights. | |
| bool | nnl::vertexde::Is16Weights (u32 vertex_format) |
| Checks if the vertex format uses 16-bit weights. | |
| bool | nnl::vertexde::Is32Weights (u32 vertex_format) |
| Checks if the vertex format uses float weights. | |
| bool | nnl::vertexde::IsFixedWeights (u32 vertex_format) |
| Checks if the vertex format uses fixed-point weights. | |
| bool | nnl::vertexde::Is8UV (u32 vertex_format) |
| Checks if the vertex format uses 8-bit UVs. | |
| bool | nnl::vertexde::Is16UV (u32 vertex_format) |
| Checks if the vertex format uses 16-bit UVs. | |
| bool | nnl::vertexde::Is32UV (u32 vertex_format) |
| Checks if the vertex format uses float UVs. | |
| bool | nnl::vertexde::IsFixedUV (u32 vertex_format) |
| Checks if the vertex format uses fixed-point UV components. | |
| bool | nnl::vertexde::Is565Color (u32 vertex_format) |
| Checks if the vertex format uses 565 vertex colors. | |
| bool | nnl::vertexde::Is5551Color (u32 vertex_format) |
| Checks if the vertex format uses 5551 vertex colors. | |
| bool | nnl::vertexde::Is4444Color (u32 vertex_format) |
| Checks if the vertex format uses 4444 vertex colors. | |
| bool | nnl::vertexde::Is8888Color (u32 vertex_format) |
| Checks if the vertex format uses 8888 vertex colors. | |
| bool | nnl::vertexde::Is8Normal (u32 vertex_format) |
| Checks if the vertex format uses 8-bit normals. | |
| bool | nnl::vertexde::Is16Normal (u32 vertex_format) |
| Checks if the vertex format uses 16-bit normal components. | |
| bool | nnl::vertexde::Is32Normal (u32 vertex_format) |
| Checks if the vertex format uses float normals. | |
| bool | nnl::vertexde::IsFixedNormal (u32 vertex_format) |
| Checks if the vertex format uses fixed-point normals. | |
| bool | nnl::vertexde::Is8Position (u32 vertex_format) |
| Checks if the vertex format uses 8-bit positions. | |
| bool | nnl::vertexde::Is16Position (u32 vertex_format) |
| Checks if the vertex format uses 16-bit positions. | |
| bool | nnl::vertexde::Is32Position (u32 vertex_format) |
| Checks if the vertex format uses float positions. | |
| bool | nnl::vertexde::IsFixedPosition (u32 vertex_format) |
| Checks if the vertex format uses fixed-point positions. | |
| std::string | nnl::vertexde::GetDescription (u32 vertex_format) |
| Generates a textual description of the vertex format. | |
| VertexLayout | nnl::vertexde::GetLayout (u32 vertex_format) |
| Retrieves the layout of a vertex based on its format. | |
Variables | |
| constexpr std::array< u32, 8 > | nnl::vertexde::format_sizes {0, 1, 2, 4, 2, 2, 2, 4} |
| Maps format codes to attribute sizes. | |
| struct nnl::vertexde::VertexLayout |
Structure representing the layout of a vertex.
This structure holds the offsets for various components of a vertex and its total byte size. It describes a single morph target.
Retrieves the color format code from the vertex format.
| vertex_format | The vertex format from which to extract the color format. |
Retrieves the number of colors.
Retrieves the byte size of a vertex color from the vertex format.
| vertex_format | The vertex format from which to extract the info. |
| std::string nnl::vertexde::GetDescription | ( | u32 | vertex_format | ) |
Generates a textual description of the vertex format.
This function constructs a detailed description of the given vertex format that includes information about used drawing modes and vertex attributes.
| vertex_format | The vertex format to describe. |
Retrieves the index format code from the vertex format.
| vertex_format | The vertex format from which to extract the index format. |
Retrieves the byte size of a single index from the vertex format.
| vertex_format | The vertex format from which to extract the index info. |
| VertexLayout nnl::vertexde::GetLayout | ( | u32 | vertex_format | ) |
Retrieves the layout of a vertex based on its format.
This function calculates the offsets for various components of a vertex and its total byte size. It returns a description of a single morph target.
| vertex_format | The format of the vertex to retrieve the layout for. |
Retrieves the number of morph targets from the vertex format.
| vertex_format | The vertex format from which to extract the number of morph targets. |
Retrieves the normal format code from the vertex format.
| vertex_format | The vertex format from which to extract the normal format. |
Retrieves the number of normal components from the vertex format.
| vertex_format | The vertex format from which to extract the number of normals. |
Retrieves the byte size of a normal component from the vertex format.
| vertex_format | The vertex format from which to extract the normal info. |
Retrieves the position format code from the vertex format.
| vertex_format | The vertex format from which to extract the position format. |
Retrieves the number of position components.
| vertex_format | The vertex format from which to extract the position info. |
Retrieves the byte size of a position component from the vertex format.
| vertex_format | The vertex format from which to extract the position info. |
Retrieves the Through Mode status from the vertex format.
| vertex_format | The vertex format from which to extract the Through Mode status. |
Retrieves the UV format code from the vertex format.
| vertex_format | The vertex format from which to extract the UV format. |
Retrieves the number of UV components.
Retrieves the byte size of a UV component from the vertex format.
| vertex_format | The vertex format from which to extract the UV info. |
Retrieves the weight format code from the vertex format.
| vertex_format | The vertex format from which to extract the weight format. |
Retrieves the number of weight components from the vertex format.
| vertex_format | The vertex format from which to extract the number of weights. |
Retrieves the byte size of a weight component from the vertex format.
| vertex_format | The vertex format from which to extract the weight info. |
|
inline |
Checks if the vertex format includes color information.
| vertex_format | The vertex format to check for color information. |
|
inline |
Checks if the vertex format includes normal information.
| vertex_format | The vertex format to check for normal information. |
|
inline |
Checks if the vertex format includes position information.
| vertex_format | The vertex format to check for position information. |
|
inline |
Checks if the vertex format includes UV information.
| vertex_format | The vertex format to check for UV information. |
|
inline |
Checks if the vertex format includes weight information.
| vertex_format | The vertex format to check for weight information. |
|
inline |
Checks if the vertex format uses 16-bit indices.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses 16-bit normal components.
This function determines whether the provided vertex format is configured to use signed 16-bit fixed-point numbers for normal components.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses 16-bit positions.
This function determines whether the provided vertex format is configured to use signed 16-bit fixed-point numbers for position components.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses 16-bit UVs.
This function determines whether the provided vertex format is configured to use unsigned 16-bit fixed-point numbers for UV components.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses 16-bit weights.
This function determines whether the provided vertex format is configured to use unsigned 16-bit fixed-point numbers for weights.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses float normals.
This function determines whether the provided vertex format is configured to use float numbers for normal components.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses float positions.
This function determines whether the provided vertex format is configured to use float numbers for position components.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses float UVs.
This function determines whether the provided vertex format is configured to use float numbers for UVs.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses float weights.
This function determines whether the provided vertex format is configured to use float numbers for weights.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses 4444 vertex colors.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses 5551 vertex colors.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses 565 vertex colors.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses 8888 vertex colors.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses 8-bit indices.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses 8-bit normals.
This function determines whether the provided vertex format is configured to use signed 8-bit fixed-point numbers for normal components.
| vertex_format | The vertex format to check for 8-bit normal information. |
|
inline |
Checks if the vertex format uses 8-bit positions.
This function determines whether the provided vertex format is configured to use signed 8-bit fixed-point numbers for position components.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses 8-bit UVs.
This function determines whether the provided vertex format is configured to use unsigned 8-bit fixed-point numbers for UV components.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses 8-bit weights.
This function determines whether the provided vertex format is configured to use unsigned 8-bit fixed-point numbers for weights.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses fixed-point normals.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses fixed-point positions.
This function checks if the vertex format is configured to use signed 8 or 16 bit fixed-point position components.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses fixed-point UV components.
This function checks if the vertex format is configured to use unsigned 8 or 16 bit fixed-point UV components.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses fixed-point weights.
This function determines whether the provided vertex format is configured to use unsigned 8 or 16 bit fixed-point numbers for weights.
| vertex_format | The vertex format to check. |
|
inline |
Checks if the vertex format uses indexed drawing.
| vertex_format | The vertex format to check for index information. |
|
inline |
Checks if the vertex format uses Through Mode (2D drawing).
| vertex_format | The vertex format to check for index information. |
|
constexpr |
Maps format codes to attribute sizes.