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

Public Member Functions

uint32_t createEntity (uint32_t parent)
 
PropertyRange getProperties (const SceneEntityDefinition &e) const
 
SceneEntityDefinitionoperator[] (size_t index)
 
const SceneEntityDefinitionoperator[] (size_t index) const
 
uint32_t getChild (uint32_t firstChild, uint32_t childIndex) const
 

Public Attributes

uint32_t numTopLevelEntities = 0
 
uint32_t numLodGroups = 0
 
Memory::TypedBuffer< SceneEntityDefinitionentities
 
PropertyStore properties
 
std::vector< FieldValuefieldValues
 

Detailed Description

Definition at line 155 of file AssetDefinition.h.

Constructor & Destructor Documentation

◆ SceneDefinition()

Cogs::Core::SceneDefinition::SceneDefinition ( )
inline

Definition at line 157 of file AssetDefinition.h.

Member Function Documentation

◆ createEntity()

uint32_t Cogs::Core::SceneDefinition::createEntity ( uint32_t  parent)
inline

Definition at line 162 of file AssetDefinition.h.

◆ getChild()

uint32_t Cogs::Core::SceneDefinition::getChild ( uint32_t  firstChild,
uint32_t  childIndex 
) const
inline

Definition at line 208 of file AssetDefinition.h.

◆ getProperties()

PropertyRange Cogs::Core::SceneDefinition::getProperties ( const SceneEntityDefinition e) const
inline

Definition at line 189 of file AssetDefinition.h.

◆ operator[]() [1/2]

SceneEntityDefinition & Cogs::Core::SceneDefinition::operator[] ( size_t  index)
inline

Definition at line 198 of file AssetDefinition.h.

◆ operator[]() [2/2]

const SceneEntityDefinition & Cogs::Core::SceneDefinition::operator[] ( size_t  index) const
inline

Definition at line 203 of file AssetDefinition.h.

Member Data Documentation

◆ entities

Memory::TypedBuffer<SceneEntityDefinition> Cogs::Core::SceneDefinition::entities

Definition at line 227 of file AssetDefinition.h.

◆ fieldValues

std::vector<FieldValue> Cogs::Core::SceneDefinition::fieldValues

Definition at line 230 of file AssetDefinition.h.

◆ numLodGroups

uint32_t Cogs::Core::SceneDefinition::numLodGroups = 0

Definition at line 225 of file AssetDefinition.h.

◆ numTopLevelEntities

uint32_t Cogs::Core::SceneDefinition::numTopLevelEntities = 0

Definition at line 224 of file AssetDefinition.h.

◆ properties

PropertyStore Cogs::Core::SceneDefinition::properties

Definition at line 229 of file AssetDefinition.h.


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