forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 20
class_reference
reduz edited this page Feb 23, 2014
·
9 revisions
####Inherits: Object ####Category: Core
Base class for anything refcounted.
- bool init_ref ( )
- void reference ( )
- bool unreference ( )
Base class for anything refcounted. Resource and many other helper objects inherit this. References keep an internal reference counter so they are only released when no longer in use.
- void reference ( )
Increase the internal reference counter. Use this only if you really know what you are doing.
- bool unreference ( )
Decrease the internal reference counter. Use this only if you really know what you are doing.