Gorgon Game Engine
MaskedAlphaShader Class Reference
Inheritance diagram for MaskedAlphaShader:
[legend]

Public Member Functions

MaskedAlphaShader & SetAlpha (GL::Texture value)
 Sets alpha texture. More...
 
MaskedAlphaShader & SetMask (GL::Texture value)
 
MaskedAlphaShader & SetTextureCoords (const GL::QuadTextureCoords &value)
 Sets texture coordinates. More...
 
MaskedAlphaShader & SetTint (const Graphics::RGBAf &value)
 
MaskedAlphaShader & SetVertexCoords (const GL::QuadVertices &value)
 

Static Public Member Functions

static MaskedAlphaShader & Use ()
 

Member Function Documentation

◆ SetAlpha()

MaskedAlphaShader& SetAlpha ( GL::Texture  value)

Sets alpha texture.

References Shader::BindTexture(), and glActiveTexture.

◆ SetMask()

MaskedAlphaShader& SetMask ( GL::Texture  value)

◆ SetTextureCoords()

MaskedAlphaShader& SetTextureCoords ( const GL::QuadTextureCoords &  value)

Sets texture coordinates.

References Shader::LocateUniform(), and Shader::UpdateUniform().

◆ SetTint()

◆ SetVertexCoords()

MaskedAlphaShader& SetVertexCoords ( const GL::QuadVertices &  value)

◆ Use()

static MaskedAlphaShader& Use ( )
static

The documentation for this class was generated from the following files: