void EnableAttrAsConst(
const nn::gr::CTR::BindSymbolVSInput & symbol,
const u8 dimension,
const f32 param[]
);
| 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. |
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.
CONFIDENTIAL