PROTO::KLUDGE  0.1
Quick prototyping library for games using SDL and OpenGL.
pk::GLStates Struct Reference

Stores the states used to draw OpenGL objects. More...

#include <GLStates.hpp>

Collaboration diagram for pk::GLStates:
Collaboration graph

Public Attributes

GLuint * modelLocation
 Used to bind a uniform value to a location in memory for the GLSL Model matrix. More...
 
GLuint * viewLocation
 Used to bind a uniform value to a location in memory for the GLSL View matrix. More...
 
GLuint * projectionLocation
 Used to bind a uniform value to a location in memory for the GLSL Projection matrix. More...
 
GLuint * ambientIntensityLocation
 Used to bind a uniform value to a location in memory for the ambient intensity of the lighting. More...
 
GLuint * ambientColorLocation
 Used to bind a uniform value to a location in memory for the ambient color of the lighting. More...
 
GLuint * diffuseIntensityLocation
 Used to bind a uniform value to a location in memory for the diffuse intensity of the lighting. More...
 
GLuint * directionLocation
 Used to bind a uniform value to a location in memory for the direction of the lighting. More...
 
GLuint * specularIntensityLocation
 Used to bind a uniform value to a location in memory for the specular intensity of the lighting. More...
 
GLuint * shininessLocation
 Used to bind a uniform value to a location in memory for the shininess of the lighting. More...
 
GLuint * eyePositionLocation
 Used to bind a uniform value to a location in memory for the eye position of the lighting. More...
 

Detailed Description

Stores the states used to draw OpenGL objects.

Member Data Documentation

◆ ambientColorLocation

GLuint* pk::GLStates::ambientColorLocation

Used to bind a uniform value to a location in memory for the ambient color of the lighting.

◆ ambientIntensityLocation

GLuint* pk::GLStates::ambientIntensityLocation

Used to bind a uniform value to a location in memory for the ambient intensity of the lighting.

◆ diffuseIntensityLocation

GLuint* pk::GLStates::diffuseIntensityLocation

Used to bind a uniform value to a location in memory for the diffuse intensity of the lighting.

◆ directionLocation

GLuint* pk::GLStates::directionLocation

Used to bind a uniform value to a location in memory for the direction of the lighting.

◆ eyePositionLocation

GLuint* pk::GLStates::eyePositionLocation

Used to bind a uniform value to a location in memory for the eye position of the lighting.

◆ modelLocation

GLuint* pk::GLStates::modelLocation

Used to bind a uniform value to a location in memory for the GLSL Model matrix.

◆ projectionLocation

GLuint* pk::GLStates::projectionLocation

Used to bind a uniform value to a location in memory for the GLSL Projection matrix.

◆ shininessLocation

GLuint* pk::GLStates::shininessLocation

Used to bind a uniform value to a location in memory for the shininess of the lighting.

◆ specularIntensityLocation

GLuint* pk::GLStates::specularIntensityLocation

Used to bind a uniform value to a location in memory for the specular intensity of the lighting.

◆ viewLocation

GLuint* pk::GLStates::viewLocation

Used to bind a uniform value to a location in memory for the GLSL View matrix.


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