DI-Guy SDK Documentation  13.8
diguyOglUtils.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2024 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
6 #pragma once
7 
8 class diguyScenario;
9 class diguyViewLight;
10 
14 
15 namespace diguyOglUtils
16 {
19 
21  void update_lighting(diguyScenario * scenario);
22 
23  void render_shadow_map(diguyViewLight * light, diguyScenario * scenario);
24 
25 };
26 
Helpers for setting up some OpenGL debugging and light state functionality.
Definition: diguyOglUtils.h:15
The diguyViewLight provides a interface around a scene light useful in diguy scenario and the opengl ...
Definition: diguyViewLight.h:60
void render_shadow_map(diguyViewLight *light, diguyScenario *scenario)
void install_opengl_debug_callbacks()
helper function that installs the glDebugMessageCallback, the modern way of catching OpenGL errors...
Represents the scenario currently being portrayed.
Definition: diguyScenario.h:99
void update_lighting(diguyScenario *scenario)
helper function that feeds light data from various diguy systems to OpenGL uniform buffers...