Represents a query for asset objects in the resource manager. More...
Inherits IDisposable.
Public Member Functions | |
AssetObjectQuery (Type type=null, bool? loaded=null) | |
Initializes a new instance of the AssetObjectQuery struct. More... | |
void | Dispose () |
Disposes the AssetObjectQuery, releasing any resources it was holding. More... | |
bool | IsMatch (AssetObject obj) |
Checks if the asset object matches the query. More... | |
bool | IsMatch (AssetObjectState state) |
Checks if the asset object state matches the query. More... | |
bool | IsMatch (Type assetType) |
Checks if the asset type matches the query. More... | |
Static Public Member Functions | |
static implicit | operator AssetObjectQuery (Type type) |
Implicitly converts a Type to an AssetObjectQuery. More... | |
Public Attributes | |
bool? | Loaded |
Indicates whether the asset is loaded. More... | |
object | ResourceManagerStateObj |
The state object of the asset. This is used internally by the resource manager. More... | |
int | ResourceManagerStateValue |
The state value of the asset. This is used internally by the resource manager. More... | |
Type | Type |
The type of the asset. More... | |
Represents a query for asset objects in the resource manager.
|
inline |
Initializes a new instance of the AssetObjectQuery struct.
|
inlinestatic |
Implicitly converts a Type to an AssetObjectQuery.
|
inline |
Checks if the asset object state matches the query.
|
inline |
Checks if the asset type matches the query.
|
inline |
Checks if the asset object matches the query.
|
inline |
Disposes the AssetObjectQuery, releasing any resources it was holding.
bool? AssetObjectQuery.Loaded |
Indicates whether the asset is loaded.
Type AssetObjectQuery.Type |
The type of the asset.
int AssetObjectQuery.ResourceManagerStateValue |
The state value of the asset. This is used internally by the resource manager.
object AssetObjectQuery.ResourceManagerStateObj |
The state object of the asset. This is used internally by the resource manager.