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

Public Member Functions

 StaticModelData (StaticModelData &)=delete
 
 StaticModelData (StaticModelData &&)=default
 
void setGeneration (uint8_t generation)
 
bool isGeneration (uint8_t generation) const
 

Public Attributes

std::vector< MaterialInstanceHandlematerials
 
std::shared_ptr< struct StaticModelContextmodelContext
 
std::vector< ComponentModel::Entity * > roots
 

Private Attributes

uint8_t generation = 0
 

Detailed Description

Definition at line 9 of file StaticModelSystem.h.

Constructor & Destructor Documentation

◆ ~StaticModelData()

Cogs::Core::StaticModelData::~StaticModelData ( )

Definition at line 68 of file StaticModelSystem.cpp.

Member Function Documentation

◆ isGeneration()

bool Cogs::Core::StaticModelData::isGeneration ( uint8_t  generation) const
inline

Definition at line 17 of file StaticModelSystem.h.

◆ setGeneration()

void Cogs::Core::StaticModelData::setGeneration ( uint8_t  generation)
inline

Definition at line 16 of file StaticModelSystem.h.

Member Data Documentation

◆ generation

uint8_t Cogs::Core::StaticModelData::generation = 0
private

Definition at line 26 of file StaticModelSystem.h.

◆ materials

std::vector<MaterialInstanceHandle> Cogs::Core::StaticModelData::materials

Definition at line 19 of file StaticModelSystem.h.

◆ modelContext

std::shared_ptr<struct StaticModelContext> Cogs::Core::StaticModelData::modelContext

Definition at line 21 of file StaticModelSystem.h.

◆ roots

std::vector<ComponentModel::Entity *> Cogs::Core::StaticModelData::roots

Definition at line 23 of file StaticModelSystem.h.


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