Home
last modified time | relevance | path

Searched refs:m_vbo2 (Results 1 – 2 of 2) sorted by relevance

/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qtbase/examples/opengl/qopenglwidget/
H A Dglwidget.cpp93 m_vbo2.destroy(); in ~GLWidget()
144 if (!m_vbo2.isCreated()) { in paintTexturedCube()
197 m_vbo2.create(); in paintTexturedCube()
198 m_vbo2.bind(); in paintTexturedCube()
199 m_vbo2.allocate(36 * 8 * sizeof(GLfloat)); in paintTexturedCube()
200 m_vbo2.write(0, afVertices, sizeof(afVertices)); in paintTexturedCube()
201 m_vbo2.write(sizeof(afVertices), afTexCoord, sizeof(afTexCoord)); in paintTexturedCube()
202 m_vbo2.write(sizeof(afVertices) + sizeof(afTexCoord), afNormals, sizeof(afNormals)); in paintTexturedCube()
203 m_vbo2.release(); in paintTexturedCube()
212 m_vbo2.bind(); in paintTexturedCube()
[all …]
H A Dglwidget.h118 QOpenGLBuffer m_vbo2; in QT_FORWARD_DECLARE_CLASS() local