ParallelGraphics Forums
SDK
You are here: [Forums]::[General]::[SDK]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
   General - SDK

Subject: [Clear()] How to delete a node releasing memory?
Sender: Andrea B 3.09.07 03:29

Hi,

I'm trying to remove all the nodes from the cortona engine with this code:

LPNODESCOLLECTION nodes=NULL;
if ( SUCCEEDED(pCortEngine->get_RootNodes(&nodes))
&& SUCCEEDED(nodes->Clear()))
{
res=true;
}

This code deletes the nodes from the scene, but it doesn't deallocate the memory... How can I remove effectively from the memory all these nodes?

Thanks

 


[Clear()] How to delete a node releasing memory? / Andrea B / 3.09.07 03:29

Messages in thread: 1


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.