Cogs.Core
|
Lod data holding the LoD state of the entity this render component belongs to. More...
#include <RenderComponent.h>
Public Attributes | |
uint8_t | selectedLod = 0 |
The selected LoD of the composite entity. | |
uint8_t | numLods = 0 |
Total number of LoDs available. | |
uint8_t | currentLod = 0 |
The assigned LoD of the current component. | |
uint8_t | lodFraction = 0 |
Lod data holding the LoD state of the entity this render component belongs to.
Definition at line 114 of file RenderComponent.h.
uint8_t Cogs::Core::RenderComponent::LodData::currentLod = 0 |
The assigned LoD of the current component.
Definition at line 121 of file RenderComponent.h.
Referenced by Cogs::Core::SpritePicker::pickCamera(), Cogs::Core::InstancedMeshPicker::pickImpl(), Cogs::Core::MeshRenderPicker::pickImpl(), and Cogs::Core::SubMeshPicker::pickImpl().
uint8_t Cogs::Core::RenderComponent::LodData::lodFraction = 0 |
Definition at line 123 of file RenderComponent.h.
uint8_t Cogs::Core::RenderComponent::LodData::numLods = 0 |
Total number of LoDs available.
Definition at line 119 of file RenderComponent.h.
uint8_t Cogs::Core::RenderComponent::LodData::selectedLod = 0 |
The selected LoD of the composite entity.
Definition at line 117 of file RenderComponent.h.
Referenced by Cogs::Core::SpritePicker::pickCamera(), Cogs::Core::InstancedMeshPicker::pickImpl(), Cogs::Core::MeshRenderPicker::pickImpl(), and Cogs::Core::SubMeshPicker::pickImpl().