nn::gr::CTR::Vertex::LoadArray Structure

Syntax

struct LoadArray
{
   u32 physicalAddr;
   PicaDataVertexAttrType type[VERTEX_ATTRIBUTE_MAX];
   u32 byte[VERTEX_ATTRIBUTE_MAX];
   int bind[VERTEX_ATTRIBUTE_MAX];
};

Description

Class for setting the vertex array.

Member Variables

physicalAddr Sets the texture array's physical address. Type is u32.
type The array for setting the vertex array type. The type is PicaDataVertexAttrType[]. The value should be a PicaDataVertexAttrType enumerated constant from the PICA macro header.
byte The array setting attribute size. Type is u32[]. The size of the array is nn::gr::CTR::Vertex::VERTEX_ATTRIBUTE_MAX.
bind Specifies the register being bound. Type is int[]. The size of the array is nn::gr::CTR::Vertex::VERTEX_ATTRIBUTE_MAX.

Member Functions

IsEnable Returns whether the array is enabled.
CheckDisable Disables the array.

CONFIDENTIAL