Referenced resource interface. More...
Public Member Functions | |
void | Ref () |
Increase the reference count of this object. | |
void | Unref () |
Decrease the reference count of this object. | |
Properties | |
uint | RefCount [get] |
Reference count for this object. |
Referenced resource interface.
The main purpose of this interface is to define an uniform interface for referencing multiple time the same resource.
Tipically a resource shall be release only when its reference count reach the value 0, indicating that no one is using this resource.
void Derm.Render.IReferenced.Ref | ( | ) |
Increase the reference count of this object.
Implemented in Derm.Render.RenderObject.
void Derm.Render.IReferenced.Unref | ( | ) |
Decrease the reference count of this object.
Implemented in Derm.Render.RenderObject.
uint Derm.Render.IReferenced.RefCount [get] |
Reference count for this object.
Implemented in Derm.Render.RenderObject.