DI-Guy SDK Documentation  13.7.1
diguyOglUtils Namespace Reference

Helpers for setting up some OpenGL debugging and light state functionality. More...

Functions

void install_opengl_debug_callbacks ()
 helper function that installs the glDebugMessageCallback, the modern way of catching OpenGL errors. More...
 
void update_lighting (diguyScenario *scenario)
 helper function that feeds light data from various diguy systems to OpenGL uniform buffers. More...
 
void render_shadow_map (diguyViewLight *light, diguyScenario *scenario)
 

Detailed Description

Helpers for setting up some OpenGL debugging and light state functionality.

Function Documentation

void diguyOglUtils::install_opengl_debug_callbacks ( )

helper function that installs the glDebugMessageCallback, the modern way of catching OpenGL errors.

void diguyOglUtils::update_lighting ( diguyScenario scenario)

helper function that feeds light data from various diguy systems to OpenGL uniform buffers.

void diguyOglUtils::render_shadow_map ( diguyViewLight light,
diguyScenario scenario 
)