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

Public Member Functions

MaskedAlphaShaderSetAlpha (GL::Texture value)
 Sets alpha texture. More...
 
MaskedAlphaShaderSetMask (GL::Texture value)
 
MaskedAlphaShaderSetTextureCoords (const GL::QuadTextureCoords &value)
 Sets texture coordinates. More...
 
MaskedAlphaShaderSetTint (const Graphics::RGBAf &value)
 
MaskedAlphaShaderSetVertexCoords (const GL::QuadVertices &value)
 

Static Public Member Functions

static MaskedAlphaShaderUse ()
 

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: