moved clips to custom framebufferobject

This commit is contained in:
itsmattkc
2019-03-17 01:45:19 +11:00
parent 4925f8f582
commit 5100ae4c2e
8 changed files with 62 additions and 41 deletions
+8 -2
View File
@@ -13,8 +13,14 @@ public:
void Create(QOpenGLContext* ctx, int width, int height);
void Destroy();
const GLuint& buffer();
const GLuint& texture();
const GLuint& buffer() const;
const GLuint& texture() const;
void BindBuffer() const;
void ReleaseBuffer() const;
void BindTexture() const;
void ReleaseTexture() const;
private:
QOpenGLContext* ctx_;
GLuint buffer_;