-
Notifications
You must be signed in to change notification settings - Fork 0
RefCounted
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.RefCounted |
| Namespace | Electron2D |
| Kind | class |
| Category | Core |
Represents the ref counted type.
public class Electron2D.RefCounted : Electron2D.ObjectProfile: Electron2D 0.1.0 2D
Status: Partial / Not verified
Out of profile: yes
Godot reference: RefCounted
Manual reference count baseline with Reference(), Unreference() and GetReferenceCount().
This type is part of the Electron2D 0.1.0 Preview public API.
Instances of this type are not synchronized. Access them from the thread that owns the object unless the member documentation states otherwise.
This API is available since Electron2D 0.1.0 Preview.
| Member | Kind | Summary |
|---|---|---|
Electron2D.RefCounted() |
Constructor | Initializes a new instance of the RefCounted type. |
GetReferenceCount() |
Method | Gets the reference count value. |
Reference() |
Method | Executes the reference operation. |
Unreference() |
Method | Executes the unreference operation. |
Kind: Constructor
public Electron2D.RefCounted()Initializes a new instance of the RefCounted type.
The new instance follows the lifetime and validation rules of its declaring type.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.RefCounted
Kind: Method
public System.Int32 GetReferenceCount()()Gets the reference count value.
This method follows the validation and lifetime rules of its declaring type.
The current reference count value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.RefCounted
Kind: Method
public System.Boolean Reference()()Executes the reference operation.
This method follows the validation and lifetime rules of its declaring type.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.RefCounted
Kind: Method
public System.Boolean Unreference()()Executes the unreference operation.
This method follows the validation and lifetime rules of its declaring type.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.RefCounted
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.