Luanti 5.17.0-dev
Loading...
Searching...
No Matches
ShaderFeatures Struct Reference

#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.

Member Function Documentation

◆ setConstants()

void ShaderFeatures::setConstants ( ShaderConstants & consts) const

References strgettext().

Referenced by dumpShaderProgram().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ array_texture

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().

◆ skinning

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.

See also
irr::video::IVideoDriver::setJointTransforms

Referenced by GUIScene::GUIScene(), and GenericCAO::addToScene().


The documentation for this struct was generated from the following files: