|
Visual Computing Library
devel
|
The ViewerDrawerUniforms class is responsible for managing the shader uniforms related to a viewer drawer. More...
#include <vclib/bgfx/drawers/uniforms/viewer_drawer_uniforms.h>
Static Public Member Functions | |
| static void | bind () |
| static void | setExposure (float exposure) |
| static void | setSpecularMipsLevels (uint8_t specMips) |
| static void | setToneMapping (PBRViewerSettings::ToneMapping tm) |
Private Types | |
| enum class | ToneMapping |
Static Private Attributes | |
| static std::array< float, 4 > | sData |
| static Uniform | sDataUniform |
The ViewerDrawerUniforms class is responsible for managing the shader uniforms related to a viewer drawer.
It provides a static interface to set the uniform data based on the current viewer settings and to bind the uniforms to the shader programs.
|
inlinestaticprivate |