Visual Computing Library  devel
Loading...
Searching...
No Matches
vcl::DrawableAxisUniforms Class Reference

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
 

Detailed Description

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.


The documentation for this class was generated from the following file: