|
Visual Computing Library
devel
|
The DrawableAxisUniforms class is responsible for managing the shader uniforms related to a drawable axis. More...
#include <vclib/bgfx/drawable/uniforms/drawable_axis_uniforms.h>
Static Public Member Functions | |
| static void | bind () |
| static void | setColor (const vcl::Color &color) |
Static Private Attributes | |
| static std::array< float, 4 > | sAxisColor = {1.0, 0.0, 0.0, 1.0} |
| static Uniform | sAxisColorUniform |
The DrawableAxisUniforms class is responsible for managing the shader uniforms related to a drawable axis.
It provides an interface to set the uniform data based on the current axis data and to bind the uniforms to the shader programs.