2015-04-16 16:55:32 +00:00
|
|
|
#ifndef PRIM_INTERNAL_DATA
|
|
|
|
#define PRIM_INTERNAL_DATA
|
|
|
|
|
|
|
|
#include "OpenGLInclude.h"
|
|
|
|
|
|
|
|
struct PrimInternalData
|
|
|
|
{
|
|
|
|
GLuint m_shaderProg;
|
|
|
|
GLint m_viewmatUniform;
|
|
|
|
GLint m_projMatUniform;
|
|
|
|
GLint m_positionUniform;
|
|
|
|
GLint m_colourAttribute;
|
|
|
|
GLint m_positionAttribute;
|
|
|
|
GLint m_textureAttribute;
|
|
|
|
GLuint m_vertexBuffer;
|
2016-12-29 05:51:54 +00:00
|
|
|
GLuint m_vertexBuffer2;
|
|
|
|
|
|
|
|
GLuint m_vertexArrayObject;
|
|
|
|
GLuint m_vertexArrayObject2;
|
|
|
|
|
2015-04-16 16:55:32 +00:00
|
|
|
GLuint m_indexBuffer;
|
2016-12-29 05:51:54 +00:00
|
|
|
GLuint m_indexBuffer2;
|
2015-04-16 16:55:32 +00:00
|
|
|
GLuint m_texturehandle;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //PRIM_INTERNAL_DATA
|