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

The DrawableEnvironmentUniforms class is responsible for managing the shader uniforms related to a drawable environment. More...

#include <vclib/bgfx/drawable/uniforms/drawable_environment_uniforms.h>

Static Public Member Functions

static void bind ()
 
static void setCubeSideResolution (float cubeSide)
 
static void setRoughness (float roughness)
 

Static Private Attributes

static std::array< float, 4 > sData
 
static Uniform sDataUniform
 

Detailed Description

The DrawableEnvironmentUniforms class is responsible for managing the shader uniforms related to a drawable environment.

It provides a static interface to set the uniform data based on the current environment data and to bind the uniforms to the shader programs.

Member Data Documentation

◆ sData

std::array<float, 4> vcl::DrawableEnvironmentUniforms::sData
inlinestaticprivate
Initial value:
= {
0.0,
0.0,
0.0,
0.0}

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