nn::gr::CTR::Vertex Class

Syntax

class Vertex

Description

Class for making vertex buffer object-related settings.

Classes

nn::gr::CTR::Vertex::IndexStream Class for making vertex index stream settings.
nn::gr::CTR::Vertex::InterleaveInfo Class for setting interleave information.

Member Constants

S VERTEX_ATTRIBUTE_MAX The maximum number of vertex attributes is 12 (v0, v1, ..., v11).
S VERTEX_ATTRIBUTE_DIMENSION_MAX The maximum number of vertex attribute elements is 4 (x, y, z, w).
S VERTEX_ENABLE_COMMAND_MAX Maximum number of vertex enabling commands.

Member Functions

EnableAttrAsArray Sets the vertex array. This corresponds to the glEnableVertexAttribArray() function in DMPGL.
EnableAttrAsConst Sets attributes as constant. This corresponds to the glVertexAttrib[N]fv() function in DMPGL. The input registers to be bound can be checked using the SearchBindSymbol() function in the Shader class.
EnableInterleavedArray Sets an interleaved array.
MakeEnableAttrCommand Generates commands for enabling vertex attributes based on information already set.
MakeDrawCommand Generates a rendering command based on information already set.
MakeDisableAttrCommand Generates a command to disable any enabled vertex attributes.
DisableAttr Disables vertex attributes. This corresponds to the glDisableVertexAttrib() function in DMPGL.
DisableAll Disables all vertex attributes.
S MakeDisableCommand Generates all commands to disable vertex attributes.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL