Resource
Summary
Definition
Namespace: SDT4.Managed.Core.Asset
Assembly: SDT4.Managed.Core.dll
abstract class Resource
Inheritance:
Object ➔ Resource
Implements:
IDisposable
Fields
| Name | Type | Description |
|---|---|---|
protected _isDisposed |
Boolean |
Properties
| Name | Type | Description |
|---|---|---|
public get; Asset |
AssetID | |
public get; protected set; ControlBlock |
IntPtr | |
protected get; ResourcePtr |
IntPtr | Mutable native pointer. This should not change in a standalone build, however during editor states, this may change upon asset modifications or reloads. |
public get; References |
Int32 | Returns the number of references to this asset. This cannot be manually counted, as this is tightly managed by the native engine, and the C# script runtime. References are tracked as follows:
|
Methods
protected virtual Void Dispose(Boolean disposing)
Parameters:
disposing(Boolean):
protected virtual Void Finalize()
public Void Dispose()
public virtual Boolean Equals(Object? obj)
Parameters:
obj(Object?):
Returns:
public virtual Int32 GetHashCode()
Returns:
public virtual String ToString()
Returns: