![]() |
Gorgon Game Engine
|
Public Member Functions | |
SimpleShader & | SetDiffuse (GL::Texture value) |
Sets diffuse texture. More... | |
SimpleShader & | SetTextureCoords (const GL::QuadTextureCoords &value) |
Sets texture coordinates. More... | |
SimpleShader & | SetTint (const Graphics::RGBAf &value) |
SimpleShader & | SetVertexCoords (const GL::QuadVertices &value) |
Static Public Member Functions | |
static SimpleShader & | Use (ShaderMode mode=ShaderMode::Normal) |
SimpleShader& SetDiffuse | ( | GL::Texture | value | ) |
Sets diffuse texture.
References glActiveTexture.
SimpleShader& SetTextureCoords | ( | const GL::QuadTextureCoords & | value | ) |
Sets texture coordinates.
References Shader::LocateUniform(), and Shader::UpdateUniform().
SimpleShader& SetTint | ( | const Graphics::RGBAf & | value | ) |
References Shader::LocateUniform(), and Shader::UpdateUniform().
SimpleShader& SetVertexCoords | ( | const GL::QuadVertices & | value | ) |
References Shader::LocateUniform(), and Shader::UpdateUniform().
|
static |
References Gorgon::Graphics::Normal, and Gorgon::Graphics::ToMask.