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