created double buffered textures
This commit is contained in:
@@ -47,11 +47,15 @@ public:
|
||||
|
||||
void Attach(RenderTexturePtr texture);
|
||||
|
||||
void AttachBackBuffer(RenderTexturePtr texture);
|
||||
|
||||
void Detach();
|
||||
|
||||
const GLuint& buffer() const;
|
||||
|
||||
private:
|
||||
void AttachInternal(GLuint tex);
|
||||
|
||||
QOpenGLContext* context_;
|
||||
|
||||
GLuint buffer_;
|
||||
|
||||
Reference in New Issue
Block a user