access to raw framebuffer object
This commit is contained in:
@@ -125,3 +125,8 @@ void RenderFramebuffer::Detach()
|
||||
|
||||
texture_ = nullptr;
|
||||
}
|
||||
|
||||
const GLuint &RenderFramebuffer::buffer() const
|
||||
{
|
||||
return buffer_;
|
||||
}
|
||||
|
||||
@@ -49,6 +49,8 @@ public:
|
||||
|
||||
void Detach();
|
||||
|
||||
const GLuint buffer() const;
|
||||
|
||||
private:
|
||||
QOpenGLContext* context_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user