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

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 ()
 

Member Function Documentation

◆ SetDiffuse()

MaskedShader& SetDiffuse ( GL::Texture  value)

Sets diffuse texture.

References glActiveTexture.

◆ SetMask()

MaskedShader& SetMask ( GL::Texture  value)

◆ SetTextureCoords()

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

Sets texture coordinates.

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

◆ SetTint()

MaskedShader& SetTint ( const Graphics::RGBAf &  value)

◆ SetVertexCoords()

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

◆ Use()

static MaskedShader& Use ( )
static

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