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

Public Attributes

GLint enabled = -1
 true enables light More...
 
GLint type = -1
 Light type. More...
 
GLint position = -1
 Position or direction vector. More...
 
GLint ambient = -1
 Ambient color. More...
 
GLint diffuse = -1
 Diffuse color. More...
 
GLint specular = -1
 Specular color. More...
 
GLint attenuation = -1
 Attenuation. More...
 
GLint spotDirection = -1
 Spot light direction. More...
 
GLint spotExponent = -1
 Spot light exponent. More...
 
GLint spotCutoff = -1
 Spot light cutoff. More...
 

Member Data Documentation

GLint Gfx::LightLocations::enabled = -1

true enables light

GLint Gfx::LightLocations::type = -1

Light type.

GLint Gfx::LightLocations::position = -1

Position or direction vector.

GLint Gfx::LightLocations::ambient = -1

Ambient color.

GLint Gfx::LightLocations::diffuse = -1

Diffuse color.

GLint Gfx::LightLocations::specular = -1

Specular color.

GLint Gfx::LightLocations::attenuation = -1

Attenuation.

GLint Gfx::LightLocations::spotDirection = -1

Spot light direction.

GLint Gfx::LightLocations::spotExponent = -1

Spot light exponent.

GLint Gfx::LightLocations::spotCutoff = -1

Spot light cutoff.


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