GLPrimInternalData.h 503 B

1234567891011121314151617181920212223242526
  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_vertexBuffer2;
  15. GLuint m_vertexArrayObject;
  16. GLuint m_vertexArrayObject2;
  17. GLuint m_indexBuffer;
  18. GLuint m_indexBuffer2;
  19. GLuint m_texturehandle;
  20. };
  21. #endif //PRIM_INTERNAL_DATA