GL Studio C++ Runtime API
IGlsStateManagerES20::gl_LightSourceParameters Struct Reference

#include <gls_state_manager_es20_interface.h>

Public Attributes

GLfloat _ambient [4]
 Ambient color RGBA.
 
GLfloat _diffuse [4]
 Diffuse color RGBA.
 
GLfloat _specular [4]
 Specular color RGBA.
 
GLfloat _position [4]
 Position XYZW.
 
GLfloat _spotDirection [3]
 Spotlight direction XYZ vector.
 
float _spotExponent
 Spotlight exponent.
 
float _spotCutoff
 Spotlight cutoff in degrees.
 
float _constantAttenuation
 Constant attenuation.
 
float _linearAttenuation
 Linear attenuation.
 
float _quadraticAttenuation
 Quadratic attenuation.
 

Detailed Description

Structure used to replicate the Fixed-Function lighting model


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