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