|
Visual Computing Library
devel
|
The MeshRenderSettingsUniforms class is responsible for managing the shader uniforms related to mesh render settings. More...
#include <vclib/bgfx/drawable/uniforms/mesh_render_settings_uniforms.h>
Static Public Member Functions | |
| static void | bind () |
| static void | set (const vcl::MeshRenderSettings &settings) |
Static Private Attributes | |
| static std::array< float, 4 > | sColorPack = {0.0, 0.0, 0.0, 0.0} |
| static Uniform | sColorUniform |
| static Uniform | sDrawModeUniform |
| static std::array< float, 4 > | sDrawPack = {0.0, 0.0, 0.0, 0.0} |
| static std::array< float, 4 > | sWidthPack = {0.0, 0.0, 0.0, 0.0} |
| static Uniform | sWidthUniform |
The MeshRenderSettingsUniforms class is responsible for managing the shader uniforms related to mesh render settings.
It provides a static interface to set the uniform data based on the current mesh render settings and to bind the uniforms to the shader programs.