Added FrameBufferAttachment::resizeGLObjectBuffers(..) and releaseGLObjects(..) methods

This commit is contained in:
Robert Osfield
2019-07-12 16:09:12 +01:00
parent 7dbcb4b7d3
commit 079cf6c090
2 changed files with 25 additions and 0 deletions

View File

@@ -304,6 +304,9 @@ class OSG_EXPORT FrameBufferAttachment
unsigned int getTexture3DZOffset() const;
unsigned int getTextureArrayLayer() const;
void resizeGLObjectBuffers(unsigned int maxSize);
void releaseGLObjects(osg::State* = 0) const;
private:
// use the Pimpl idiom to avoid dependency from
// all Texture* headers