|
Cogs.Core
|
#include <AssetSystem.h>
Public Attributes | |
| StringView | path |
| struct AssetInstanceData * | assetInstance = nullptr |
| uint32_t | priority = 0 |
| Priority of request, largest number gets served first. | |
| uint32_t | modelFileIndex = 0 |
| ModelHandle | model |
| bool | canceled = false |
Represents a request for a model file.
A model is typically stored as cogsbin file. Multiple models can be packed into a single model as parts.
checkEntity creates new requests and enqueues it onto AssetSystemData::pendingRequests.
Definition at line 65 of file AssetSystem.h.
| struct AssetInstanceData* Cogs::Core::AssetModelRequest::assetInstance = nullptr |
Definition at line 68 of file AssetSystem.h.
| bool Cogs::Core::AssetModelRequest::canceled = false |
Definition at line 75 of file AssetSystem.h.
| ModelHandle Cogs::Core::AssetModelRequest::model |
Definition at line 73 of file AssetSystem.h.
| uint32_t Cogs::Core::AssetModelRequest::modelFileIndex = 0 |
Definition at line 71 of file AssetSystem.h.
| StringView Cogs::Core::AssetModelRequest::path |
Definition at line 67 of file AssetSystem.h.
| uint32_t Cogs::Core::AssetModelRequest::priority = 0 |
Priority of request, largest number gets served first.
Definition at line 70 of file AssetSystem.h.