23#ifndef VCL_BGFX_DRAWABLE_UNIFORMS_DRAWABLE_ENVIRONMENT_UNIFORMS_H
24#define VCL_BGFX_DRAWABLE_UNIFORMS_DRAWABLE_ENVIRONMENT_UNIFORMS_H
26#include <vclib/bgfx/uniform.h>
27#include <vclib/render/settings/pbr_viewer_settings.h>
40 static inline std::array<float, 4> sData = {
46 static inline Uniform sDataUniform;
51 static void setRoughness(
float roughness) { sData[0] = roughness; }
59 Uniform(
"u_environmentSettingsPack", bgfx::UniformType::Vec4);
60 sDataUniform.
bind(sData.data());
A class representing a line segment in n-dimensional space. The class is parameterized by a PointConc...
Definition segment.h:41