|
Visual Computing Library
devel
|
The DrawableEnvironmentUniforms class is responsible for managing the shader uniforms related to a drawable environment. More...
#include <vclib/bgfx/drawable/uniforms/drawable_environment_uniforms.h>
Static Public Member Functions | |
| static void | bind () |
| static void | setCubeSideResolution (float cubeSide) |
| static void | setRoughness (float roughness) |
Static Private Attributes | |
| static std::array< float, 4 > | sData |
| static Uniform | sDataUniform |
The DrawableEnvironmentUniforms class is responsible for managing the shader uniforms related to a drawable environment.
It provides a static interface to set the uniform data based on the current environment data and to bind the uniforms to the shader programs.
|
inlinestaticprivate |