|
Visual Computing Library
devel
|
The DrawableTrackballUniforms class is responsible for managing the shader uniforms related to a drawable trackball. More...
#include <vclib/bgfx/drawable/uniforms/drawable_trackball_uniforms.h>
Static Public Member Functions | |
| static void | bind () |
| static void | setDragging (bool dragging) |
Static Private Attributes | |
| static constexpr float | DRAGGING_ALPHA = 0.9f |
| static constexpr float | NOT_DRAGGING_ALPHA = 0.5f |
| static std::array< float, 4 > | sTrackBallSettings |
| static Uniform | sTrackballSettingsUniform |
The DrawableTrackballUniforms class is responsible for managing the shader uniforms related to a drawable trackball.
It provides a static interface to set the uniform data based on the current dragging status and to bind the uniforms to the shader programs.
|
inlinestaticprivate |