PROTO::KLUDGE  0.1
Quick prototyping library for games using SDL and OpenGL.
GLStates.hpp
Go to the documentation of this file.
1 #ifndef GLSTATES_HPP
2 #define GLSTATES_HPP
3 
4 #include "GL/glew.h"
5 #include <glm/glm.hpp>
6 #include <glm/gtc/matrix_transform.hpp>
7 #include <glm/gtc/type_ptr.hpp>
8 
9 namespace pk
10 {
16  struct GLStates
17  {
18  GLuint* modelLocation;
19  GLuint* viewLocation;
28  };
29 }
30 
31 #endif // GLSTATES_HPP
Definition: Game.hpp:7
GLuint * specularIntensityLocation
Used to bind a uniform value to a location in memory for the specular intensity of the lighting...
Definition: GLStates.hpp:25
GLuint * ambientIntensityLocation
Used to bind a uniform value to a location in memory for the ambient intensity of the lighting...
Definition: GLStates.hpp:21
GLuint * viewLocation
Used to bind a uniform value to a location in memory for the GLSL View matrix.
Definition: GLStates.hpp:19
GLuint * shininessLocation
Used to bind a uniform value to a location in memory for the shininess of the lighting.
Definition: GLStates.hpp:26
Stores the states used to draw OpenGL objects.
Definition: GLStates.hpp:16
GLuint * modelLocation
Used to bind a uniform value to a location in memory for the GLSL Model matrix.
Definition: GLStates.hpp:18
GLuint * projectionLocation
Used to bind a uniform value to a location in memory for the GLSL Projection matrix.
Definition: GLStates.hpp:20
GLuint * ambientColorLocation
Used to bind a uniform value to a location in memory for the ambient color of the lighting...
Definition: GLStates.hpp:22
GLuint * diffuseIntensityLocation
Used to bind a uniform value to a location in memory for the diffuse intensity of the lighting...
Definition: GLStates.hpp:23
GLuint * eyePositionLocation
Used to bind a uniform value to a location in memory for the eye position of the lighting.
Definition: GLStates.hpp:27
GLuint * directionLocation
Used to bind a uniform value to a location in memory for the direction of the lighting.
Definition: GLStates.hpp:24