nn::gr::CTR::Shader::SetShaderIndex Member Function| Name | Description | |
|---|---|---|
| in | vtx_shader_index |
The index of the enabled vertex shader. |
| in | geo_shader_index |
The index of the enabled geometry shader. |
Configures the index of the enabled shader. You must use this function after calling the SetupBinary function. For more information about the index to be specified, see the MAP file generated at link time by ctr_VertexShaderLinker32.exe. Geometry shaders can be disabled by specifying -1 for geo_shader_index. When switching between the use and non-use of geometry shaders, you need to reconfigure the rendering mode with the SetDrawMode function before generating a command.
CONFIDENTIAL