Base class for anything that keeps a reference count.
    public class Reference : Object

Base class for anything that keeps a reference count. Resource and many other helper objects inherit this. References keep an internal reference counter so they are only released when no longer in use.

Inheritance Chain

Derived Classes

Constructors

    public Reference()

Increase the internal reference counter. Use this only if you really know what you are doing.

Methods

    public bool InitRef()

    public bool Reference_()

Increase the internal reference counter. Use this only if you really know what you are doing.

    public bool Unreference()

Decrease the internal reference counter. Use this only if you really know what you are doing.

Tags: