Colobot
Public Attributes | List of all members
Gfx::UniformLocations Struct Reference

Public Attributes

GLint projectionMatrix = -1
 Projection matrix. More...
 
GLint viewMatrix = -1
 View matrix. More...
 
GLint modelMatrix = -1
 Model matrix. More...
 
GLint shadowMatrix = -1
 Shadow matrix. More...
 
GLint normalMatrix = -1
 Normal matrix. More...
 
GLint primaryTexture = -1
 Primary texture sampler. More...
 
GLint secondaryTexture = -1
 Secondary texture sampler. More...
 
GLint shadowTexture = -1
 Shadow texture sampler. More...
 
GLint textureEnabled [3] = {}
 true enables texture More...
 
GLint alphaTestEnabled = -1
 true enables alpha test More...
 
GLint alphaReference = -1
 Alpha test reference value. More...
 
GLint fogEnabled = -1
 true enables fog More...
 
GLint fogRange = -1
 Fog range. More...
 
GLint fogColor = -1
 Fog color. More...
 
GLint shadowColor = -1
 Shadow color. More...
 
GLint lightingEnabled = -1
 true enables lighting More...
 
GLint ambientColor = -1
 Ambient color. More...
 
GLint diffuseColor = -1
 Diffuse color. More...
 
GLint specularColor = -1
 Specular color. More...
 
LightLocations lights [8] = {}
 

Member Data Documentation

GLint Gfx::UniformLocations::projectionMatrix = -1

Projection matrix.

GLint Gfx::UniformLocations::viewMatrix = -1

View matrix.

GLint Gfx::UniformLocations::modelMatrix = -1

Model matrix.

GLint Gfx::UniformLocations::shadowMatrix = -1

Shadow matrix.

GLint Gfx::UniformLocations::normalMatrix = -1

Normal matrix.

GLint Gfx::UniformLocations::primaryTexture = -1

Primary texture sampler.

GLint Gfx::UniformLocations::secondaryTexture = -1

Secondary texture sampler.

GLint Gfx::UniformLocations::shadowTexture = -1

Shadow texture sampler.

GLint Gfx::UniformLocations::textureEnabled[3] = {}

true enables texture

GLint Gfx::UniformLocations::alphaTestEnabled = -1

true enables alpha test

GLint Gfx::UniformLocations::alphaReference = -1

Alpha test reference value.

GLint Gfx::UniformLocations::fogEnabled = -1

true enables fog

GLint Gfx::UniformLocations::fogRange = -1

Fog range.

GLint Gfx::UniformLocations::fogColor = -1

Fog color.

GLint Gfx::UniformLocations::shadowColor = -1

Shadow color.

GLint Gfx::UniformLocations::lightingEnabled = -1

true enables lighting

GLint Gfx::UniformLocations::ambientColor = -1

Ambient color.

GLint Gfx::UniformLocations::diffuseColor = -1

Diffuse color.

GLint Gfx::UniformLocations::specularColor = -1

Specular color.


The documentation for this struct was generated from the following file: