Hello Simon, On 09/28/2011 07:21 PM, Simon Bouvier-Zappa wrote: > Are OpenGL resources freed if a particular scene graph is destroyed? We > have several 3d objects which we must create and destroy on demand. > Upon destruction, we want to ensure all resources are freed. Will the > resources be freed at next osg window render? I do believe there are > clean up calls in OSG::Window::frameExit.
yes, for example when a TextureChunk is destroyed it decreases the ref count on the associated OpenGL resources and on the next Window::frameExit() they are released (i.e. glDeleteTextures() called). Cheers, Carsten ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users