OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Shader Member List

This is the complete list of members for Shader, including all inherited members.

addUniform(const char *name)Shader
colorShaderShaderprivatestatic
colorShaderFragmentShaderprivatestatic
colorShaderVertexShaderprivatestatic
compile(const char *vertex, const char *fragment)Shader
drawGL(ShaderBuffer &vertices, ShaderBuffer &uvs, glm::vec4 color, unsigned int texture, TextureStorage store=TextureStorage::SYSTEM, unsigned int mode=GL_TRIANGLES, ShaderTexture *target=nullptr, Shader &shader=textShader)Shaderstatic
drawGL(ShaderBuffer &vertices, ShaderBuffer &uvs, unsigned int texture, glm::mat4 MVP, TextureStorage store=TextureStorage::GAME, ShaderTexture *target=nullptr, Shader &shader=textureShader)Shaderstatic
drawGL(ShaderBuffer &vertices, ShaderBuffer &uvs, ShaderBuffer &indices, unsigned int texture, glm::mat4 MVP, TextureStorage store=TextureStorage::GAME, ShaderTexture *target=nullptr, Shader &shader=textureShader)Shaderstatic
drawGL(ShaderBuffer &vertices, ShaderBuffer &colors, glm::mat4 MVP, unsigned int mode=GL_TRIANGLES, ShaderTexture *target=nullptr, Shader &shader=colorShader)Shaderstatic
drawGL(ShaderBuffer &vertices, ShaderBuffer &colors, ShaderBuffer &indices, glm::mat4 MVP, unsigned int mode=GL_TRIANGLES, ShaderTexture *target=nullptr, Shader &shader=colorShader)Shaderstatic
getUniform(int n)Shader
initialize()Shaderstatic
loadUniform(int uni, glm::vec2 vec)Shader
loadUniform(int uni, glm::vec4 vec)Shader
loadUniform(int uni, glm::mat4 mat)Shader
loadUniform(int uni, int texture, TextureStorage store)Shader
programIDShaderprivate
set2DState(bool on, bool depth=true)Shaderstatic
Shader()Shaderinline
shutdown()Shaderstatic
textShaderShaderprivatestatic
textShaderFragmentShaderprivatestatic
textShaderVertexShaderprivatestatic
textureShaderShaderprivatestatic
textureShaderFragmentShaderprivatestatic
textureShaderVertexShaderprivatestatic
uniformsShaderprivate
use()Shader
vertexArrayIDShaderprivatestatic
~Shader()Shader