25 Nov 2015, 16:39
OK! I'm still in the early tutorials and maybe I'm being rushed! From what I understand, in this example the "Dashed Midline" are just data in video memory, so, I'll just need to clear my video memory.
Murl Engine gives support for the user to make these cleanings in video memory?
Murl Engine gives support for the user to make these cleanings in video memory?
(25 Nov 2015, 8:59)Ketschak Wrote: Using AddGraphNode() has the advantage that RemoveReference() is called automatically for each node when the BaseProcessor's destructor is called and that we easily can verify if all references are valid with the AreGraphNodesValid() method.
However, in this case we ourself take care to remove the requested references:
// GetReference gets a reference and increases the reference counter mBallTransform.GetReference(root, "line_"+Util::UInt32ToString(i)); mBallTransform->SetPositionY(-20.0 + (maxInstances/2 - i)*40); // RemoveReference removes the reference and decreases the reference counter mBallTransform.RemoveReference();
✠ nnDnn ✠ The peace of Christ! ✠ nnDnn ✠