Cogs.Core
Public Attributes | List of all members
Cogs::Core::AssetModelRequest Struct Reference

#include <AssetSystem.h>

Public Attributes

StringView path
 
struct AssetInstanceDataassetInstance = nullptr
 
uint32_t priority = 0
 Priority of request, largest number gets served first.
 
uint32_t modelFileIndex = 0
 
ModelHandle model
 
bool canceled = false
 

Detailed Description

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.

Member Data Documentation

◆ assetInstance

struct AssetInstanceData* Cogs::Core::AssetModelRequest::assetInstance = nullptr

Definition at line 68 of file AssetSystem.h.

◆ canceled

bool Cogs::Core::AssetModelRequest::canceled = false

Definition at line 75 of file AssetSystem.h.

◆ model

ModelHandle Cogs::Core::AssetModelRequest::model

Definition at line 73 of file AssetSystem.h.

◆ modelFileIndex

uint32_t Cogs::Core::AssetModelRequest::modelFileIndex = 0

Definition at line 71 of file AssetSystem.h.

◆ path

StringView Cogs::Core::AssetModelRequest::path

Definition at line 67 of file AssetSystem.h.

◆ priority

uint32_t Cogs::Core::AssetModelRequest::priority = 0

Priority of request, largest number gets served first.

Definition at line 70 of file AssetSystem.h.


The documentation for this struct was generated from the following file: