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;
|
2018-09-23 21:17:31 +00:00
|
|
|
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;
|
|
|
|
|
2018-09-23 21:17:31 +00:00
|
|
|
GLuint m_indexBuffer;
|
|
|
|
GLuint m_indexBuffer2;
|
|
|
|
GLuint m_texturehandle;
|
2015-04-16 16:55:32 +00:00
|
|
|
};
|
|
|
|
|
2018-09-23 21:17:31 +00:00
|
|
|
#endif //PRIM_INTERNAL_DATA
|