The Resource<(Of <(<'TDevice, TResource, TMetadata>)>)> type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Resource<(Of <(<'TDevice, TResource, TMetadata>)>)> | Initializes a new instance of the Resource<(Of <(<'TDevice, TResource, TMetadata>)>)> class |
Methods
| Name | Description | |
|---|---|---|
| CreateResoure | ||
| DestroyResource | ||
| Dispose | Releases all resources used by the Resource<(Of <(<'TDevice, TResource, TMetadata>)>)> | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | (Inherited from Object.) | |
| UpdateResource |
Properties
| Name | Description | |
|---|---|---|
| Item | ||
| Metadata |
Some arbitrary data associated with this resource.
| |
| NeedsUpdate |
Whether or not the Update method has to be called for this resource.
By default this flag is true.
Note: The Update method will always get called for new resources.
|