 |
Blamite Game Engine - blam!
00285.12.18.20.1411.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
31 int source_length = 0;
35 GLint compile_status = 0;
36 char compile_log[1024];
52 GLuint shader_program = 0;
54 std::vector<std::string> attached_shaders;
std::string GetID()
Definition: BlamGLSLShader.cpp:43
void Use()
Definition: BlamGLSLShaderProgram.cpp:68
BlamGLSLShaderProgram(std::string _id)
Definition: BlamGLSLShaderProgram.cpp:5
BLAM BlamGLSLShader * GetShader(std::string id)
Definition: shaders.cpp:85
GLuint GetGLShaderID()
Definition: BlamGLSLShader.cpp:77
BLAM void LinkShaderProgram(std::string id)
Definition: shaders.cpp:62
BlamGLSLShaderAttributeType
Definition: shader.h:12
BlamGLSLShaderType
Definition: shader.h:18
~BlamGLSLShader()
Definition: BlamGLSLShader.cpp:37
@ FragmentShader
Definition: shader.h:21
~BlamGLSLShaderProgram()
Definition: BlamGLSLShaderProgram.cpp:13
Namespace containing functions exclusive to OpenGL.
Definition: shader.h:68
@ __NULL_SHADER_TYPE
Definition: shader.h:22
BLAM void LinkAllShaderPrograms()
Definition: shaders.cpp:71
bool Compile()
Definition: BlamGLSLShader.cpp:48
BLAM BlamGLSLShaderProgram * GetShaderProgram(std::string id)
Definition: shaders.cpp:95
@ VertexShader
Definition: shader.h:20
BlamGLSLShader(std::string _id, BlamGLSLShaderType _type, std::string _source)
Definition: BlamGLSLShader.cpp:5
BLAM void LoadShaderPrograms()
Definition: shaders.cpp:21
@ FloatAttribute
Definition: shader.h:14
#define BLAM
Definition: shader.h:9
BLAM void CleanupShaderPrograms()
Definition: shaders.cpp:52
BLAM void CompileShaders()
Definition: shaders.cpp:32
BLAM void CleanupShaders()
Definition: shaders.cpp:42
GLuint GetGLProgramID()
Definition: BlamGLSLShaderProgram.cpp:58
void AttachShader(std::string shader_id)
Definition: BlamGLSLShaderProgram.cpp:37
void Link()
Definition: BlamGLSLShaderProgram.cpp:63
std::string GetID()
Definition: BlamGLSLShaderProgram.cpp:32
BLAM void LoadShaders()
Definition: shaders.cpp:10