Deleting Objects

You can delete an object by calling:


    R3Dispose(obj);

which is a shield function for R3RM_DELETE method.


    R3DoA(obj, R3RM_DELETE, NULL);

[Note] Note
Usually it is not a good idea to delete objects explicitely, because there might be another object using the object too. See Reference Counting for more information about deleting objects.