summaryrefslogtreecommitdiffstats
path: root/src/render/graphicshelpers/graphicscontext_p.h
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-06-29 16:37:53 +0200
committerPaul Lemire <paul.lemire@kdab.com>2016-07-04 06:09:59 +0000
commitc248d198fb6fac4bb0811762c95bf3d238bf77f2 (patch)
tree2347eeea434a1a9b4a54a6295644f45e582a5c0b /src/render/graphicshelpers/graphicscontext_p.h
parent18f0b45c23adc5bee4c784a8d81c697aeb831c93 (diff)
Renderer: cleanup graphics resources
Change-Id: Iab9c75e25ed9ec09f39282aa48fe827a65fdb136 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/graphicshelpers/graphicscontext_p.h')
-rw-r--r--src/render/graphicshelpers/graphicscontext_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicscontext_p.h b/src/render/graphicshelpers/graphicscontext_p.h
index f5598386d..94a7fda1f 100644
--- a/src/render/graphicshelpers/graphicscontext_p.h
+++ b/src/render/graphicshelpers/graphicscontext_p.h
@@ -150,6 +150,7 @@ public:
void specifyAttribute(const Attribute *attribute, Buffer *buffer, const QString &shaderName);
void specifyIndices(Buffer *buffer);
void updateBuffer(Buffer *buffer);
+ void releaseBuffer(Qt3DCore::QNodeId bufferId);
void setParameters(ShaderParameterPack &parameterPack);