Tutorial #03: Pong - "Dashed Midline" doesn't need of AddGraphNode?
Hello! Smile
I know that when I use AddGraphNode the engine does automatically clear the GraphNode when OnDeInit is called.

In the Tutorial #03: Pong the "Dashed Midline" is not using AddGraphNode, but only mBallTransform.GetReference(root, "line_"+Util::UInt32ToString(i));.

My question is: "Dashed Midline" doesn't need use AddGraphNode to clear the memory?

Tutorial #01: Cube Wrote:In order to manage references in a more comfortable way, the BaseProcessor class offers the convenient method AddGraphNode(). This method keeps track of all requested references and passes the responsibility of removing references on to the BaseProcessor itself. All tracked references are released automatically, when the BaseProcessor's destructor is called.
✠ nnDnn ✠ The peace of Christ! ✠ nnDnn ✠

Messages In This Thread
Tutorial #03: Pong - "Dashed Midline" doesn't need of AddGraphNode? - by Flávio San - 25 Nov 2015, 0:34

Forum Jump:

Copyright © 2011-2018 Spraylight GmbH.