#include <shader.h>
Public Member Functions | |
| void | setConstants (ShaderConstants &consts) const |
Public Attributes | |
| bool | array_texture = false |
| Enable support for array textures, texture indices are expected in the Aux vertex attribute. | |
| bool | skinning = false |
| Enable hardware skinning support (mesh animation); static meshes will still render as expected. | |
| void ShaderFeatures::setConstants | ( | ShaderConstants & | consts | ) | const |
References strgettext().
Referenced by dumpShaderProgram().
| bool ShaderFeatures::array_texture = false |
Enable support for array textures, texture indices are expected in the Aux vertex attribute.
Referenced by getAdHocNodeShader(), and NodeVisuals::updateTextures().
| bool ShaderFeatures::skinning = false |
Enable hardware skinning support (mesh animation); static meshes will still render as expected.
Joint transforms are expected in the JointMatrices UBO.
Referenced by GUIScene::GUIScene(), and GenericCAO::addToScene().