IResourceManager
Summary
Definition
Namespace: SDT4.Managed.Core
Assembly: SDT4.Managed.Core.dll
interface IResourceManager
Implements:
Fields
| Name | Type | Description |
|---|---|---|
Properties
| Name | Type | Description |
|---|---|---|
Methods
public Task<AssetLoadResult<TResource>> LoadAssetAsync<TResource>(AssetID assetId)
Summary
Returns an asynchronous task to an
Parameters:
assetId(AssetID): A valid asset handle pointing to a resource described by
Returns:
- Task<AssetLoadResult<TResource>>: A valid
holding the load result.
public TResource FromControlBlock<TResource>(IntPtr block)
Summary
Converts control block pointer to a proper asset handle.
Parameters:
block(IntPtr): Control block pointer.
Returns:
- TResource: If
is invalid, or the underlying data does NOT match ,