Bubba-3D
0.9.0
Awesome game engine!
|
Compiles Vertex Shaders. More...
#include <VertexShader.h>
Public Member Functions | |
VertexShader (std::string shaderName) | |
virtual void | compile () |
virtual void | checkErrors () |
virtual GLuint | getGLId () |
![]() | |
GLuint | compileShader (GLenum type, const char *source) |
void | logCompileError (GLuint shader, std::string shaderType) |
void | checkCompileErrors (GLuint *shader, std::string shaderType) |
Compiles Vertex Shaders.
Class that takes a vertex shader string and compiles it. It also checks for any possible errors that occured during compilation.
Definition at line 37 of file VertexShader.h.