GLPrimInternalData.h 446 B

123456789101112131415161718192021
  1. #ifndef PRIM_INTERNAL_DATA
  2. #define PRIM_INTERNAL_DATA
  3. #include "OpenGLInclude.h"
  4. struct PrimInternalData
  5. {
  6. GLuint m_shaderProg;
  7. GLint m_viewmatUniform;
  8. GLint m_projMatUniform;
  9. GLint m_positionUniform;
  10. GLint m_colourAttribute;
  11. GLint m_positionAttribute;
  12. GLint m_textureAttribute;
  13. GLuint m_vertexBuffer;
  14. GLuint m_vertexArrayObject;
  15. GLuint m_indexBuffer;
  16. GLuint m_texturehandle;
  17. };
  18. #endif //PRIM_INTERNAL_DATA