Bubba-3D
0.9.0
Awesome game engine!
|
Compiles Fragment Shaders. More...
#include <FragmentShader.h>
Public Member Functions | |
FragmentShader (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 Fragment Shaders.
Class that takes a fragment shader string and compiles it. It also checks for any possible errors that occured during compilation.
Definition at line 33 of file FragmentShader.h.