/
redgpu
/
bullet
Обзор
Документация
Войти
/
redgpu
/
bullet
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.85
examples/OpenGLWindow/GLPrimInternalData.h
21 строка
446 B
erwincoumans
add initial examples, replacing the 'Demos/Demos3'. Will make it work cross-platform, OpenGL3/OpenGL2 and add more examples to it.
16 апр 2015, 19:55
16 апр 2015, 19:55
a1bf9c5
Код
Авторство
О чём код?
#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; GLuint m_vertexArrayObject; GLuint m_indexBuffer; GLuint m_texturehandle; }; #endif //PRIM_INTERNAL_DATA