![]() |
DI-Guy SDK Documentation
13.7.1
|
#include <diguyUniformBufferUpdater.h>#include <glm/glm.hpp>#include <GL/glew.h>#include <GL/gl.h>Go to the source code of this file.
Classes | |
| struct | diguyOglUboMaterial |
| Lightweight structure for communicating material parameters to gpu This must match layout in shader library diguy_shared_library.glsl. More... | |
| struct | diguyOglUboFog |
| Lightweight structure for communicating fog parameters to gpu This must match layout in shader library diguy_shared_library.glsl. More... | |
| struct | diguyOglUboLight |
| Lightweight structure for communicating light parameters to gpu This must match layout in shader library diguy_shared_library.glsl. More... | |
| struct | diguyOglPerFrameUniformBuffer |
| Uniform Buffer for information that typically changes just once a frame This must match layout in shader library diguy_shared_library.glsl. More... | |
| struct | diguyOglMaterialUniformBuffer |
| Uniform Buffer for material information must match data layout in diguy_shared_library.glsl. More... | |
| struct | diguyOglTransformUniformBuffer |
| Uniform Buffer for transform stack, will change many times a frame must match data layout in diguy_shared_library.glsl. More... | |
| class | diguyOglUniformBufferUpdater |
| This is an example implementation of a diguyUniformBufferUpdater it's responsible for translating api independent calls into OpenGL functionality. More... | |
Enumerations | |
| enum | diguyOglBufferIndexes { DIGUY_UBO_TRANSFORM_INDEX, DIGUY_UBO_MATERIAL_INDEX, DIGUY_UBO_PER_FRAME_INDEX } |
| Default indexes for diguy uniform buffer locations in the shader. More... | |
Variables | |
| const int | DIGUY_OGL_MAX_NUM_LIGHTS = 8 |
| const int DIGUY_OGL_MAX_NUM_LIGHTS = 8 |