git-svn-id: svn://db.shs.com.ru/libs@286 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2017-10-03 12:20:32 +00:00
parent b46b9329f3
commit 7ad19d72c5
40 changed files with 320 additions and 712 deletions

View File

@@ -23,6 +23,9 @@
#include "chunkstream.h"
class GLVBO
#if QT_VERSION >= 0x050600
: protected QOpenGLExtraFunctions
#endif
{
friend class GLObjectBase;
friend QDataStream & operator <<(QDataStream & s, const GLVBO & m);
@@ -36,7 +39,7 @@ public:
void init();
void destroy();
bool rebuffer(bool clear_ = false);
void draw(GLenum type, QGLShaderProgram * prog, bool simplest = false);
void draw(GLenum type, __GLShaderProgram__ * prog, bool simplest = false);
void clear();
GLuint buffer() const {return buffer_;}