EnableAttrAsConst

nn::gr::CTR::Vertex::EnableAttrAsConst Member Function

Syntax

void EnableAttrAsConst(
     const nn::gr::CTR::BindSymbolVSInput & symbol,
     const u8 dimension,
     const f32 param[]
);

Parameters

Name Description
in symbol The symbol for vertex shader input.
in dimension Specifies the number of elements.
in param[] Specifies constant vertex parameters. param[0], [1], [2] and [3] correspond to x, y, z, and w, respectively.

Return Values

None.

Description

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.

See Also

Shader::SearchBindSymbol()

Revision History

2010/09/15
Initial version.

CONFIDENTIAL