Cogs.Core
Public Member Functions | Public Attributes | List of all members
Cogs::Core::ModelFileData Struct Reference

Public Member Functions

void setReady ()
 
void unref ()
 
void ref ()
 

Public Attributes

ModelHandle model
 
std::string path
 
uint32_t byteSize = 0
 
uint32_t references = 0
 
struct AssetModelRequestrequest = nullptr
 
bool requested = false
 
bool ready = false
 

Detailed Description

Definition at line 150 of file AssetSystem.cpp.

Member Function Documentation

◆ ref()

void Cogs::Core::ModelFileData::ref ( )
inline

Definition at line 177 of file AssetSystem.cpp.

◆ setReady()

void Cogs::Core::ModelFileData::setReady ( )
inline

Definition at line 160 of file AssetSystem.cpp.

◆ unref()

void Cogs::Core::ModelFileData::unref ( )
inline

Definition at line 162 of file AssetSystem.cpp.

Member Data Documentation

◆ byteSize

uint32_t Cogs::Core::ModelFileData::byteSize = 0

Definition at line 154 of file AssetSystem.cpp.

◆ model

ModelHandle Cogs::Core::ModelFileData::model

Definition at line 152 of file AssetSystem.cpp.

◆ path

std::string Cogs::Core::ModelFileData::path

Definition at line 153 of file AssetSystem.cpp.

◆ ready

bool Cogs::Core::ModelFileData::ready = false

Definition at line 158 of file AssetSystem.cpp.

◆ references

uint32_t Cogs::Core::ModelFileData::references = 0

Definition at line 155 of file AssetSystem.cpp.

◆ request

struct AssetModelRequest* Cogs::Core::ModelFileData::request = nullptr

Definition at line 156 of file AssetSystem.cpp.

◆ requested

bool Cogs::Core::ModelFileData::requested = false

Definition at line 157 of file AssetSystem.cpp.


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