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

Public Member Functions

AlphaShaderSetAlpha (GL::Texture value)
 Sets alpha texture. More...
 
AlphaShaderSetTextureCoords (const GL::QuadTextureCoords &value)
 Sets texture coordinates. More...
 
AlphaShaderSetTint (const Graphics::RGBAf &value)
 
AlphaShaderSetVertexCoords (const GL::QuadVertices &value)
 

Static Public Member Functions

static AlphaShaderUse (ShaderMode mode=ShaderMode::Normal)
 

Member Function Documentation

◆ SetAlpha()

AlphaShader& SetAlpha ( GL::Texture  value)

Sets alpha texture.

References glActiveTexture.

◆ SetTextureCoords()

AlphaShader& SetTextureCoords ( const GL::QuadTextureCoords value)

Sets texture coordinates.

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

◆ SetTint()

AlphaShader& SetTint ( const Graphics::RGBAf value)

◆ SetVertexCoords()

AlphaShader& SetVertexCoords ( const GL::QuadVertices value)

◆ Use()


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