Gorgon Game Engine
Shader.cpp File Reference
Include dependency graph for Shader.cpp:

Namespaces

 Gorgon
 Root namespace for Gorgon Game Engine.
 
 Gorgon::GL
 This namespace contains underlying graphics library functions.
 

Functions

GLuint CreateShader (GLenum type, const std::string &code, const std::string &name)
 
void InsertDefines (std::string &code, const std::string &shader_defines)
 
unsigned int SetupUBO (int size, int binding_point)
 
void UpdateUBO (unsigned int ubo, int size, void const *const data)
 

Variables

GLuint activeprogram