Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::LodLevels Struct Reference

#include <MeshGeometry.hpp>

Public Attributes

const Mesh * mesh [lod::kMaxStandIns+1] {}
lod::LevelSet set
glm::vec3 localMin {0.0f}
glm::vec3 localMax {0.0f}
bool gap = false
bool disordered = false
bool skinMismatch = false

Detailed Description

Bounds include every usable level so selecting a different level cannot change the selection metric.

Definition at line 19 of file MeshGeometry.hpp.

Member Data Documentation

◆ disordered

bool esengine::LodLevels::disordered = false

Definition at line 25 of file MeshGeometry.hpp.

Referenced by esengine::gatherLodLevels().

◆ gap

bool esengine::LodLevels::gap = false

Definition at line 24 of file MeshGeometry.hpp.

Referenced by esengine::gatherLodLevels().

◆ localMax

glm::vec3 esengine::LodLevels::localMax {0.0f}

Definition at line 23 of file MeshGeometry.hpp.

Referenced by esengine::MeshPlugin::collect(), and esengine::gatherLodLevels().

◆ localMin

glm::vec3 esengine::LodLevels::localMin {0.0f}

Definition at line 22 of file MeshGeometry.hpp.

Referenced by esengine::MeshPlugin::collect(), and esengine::gatherLodLevels().

◆ mesh

const Mesh* esengine::LodLevels::mesh[lod::kMaxStandIns+1] {}

Definition at line 20 of file MeshGeometry.hpp.

Referenced by esengine::MeshPlugin::collect(), and esengine::gatherLodLevels().

◆ set

lod::LevelSet esengine::LodLevels::set

Definition at line 21 of file MeshGeometry.hpp.

Referenced by esengine::MeshPlugin::collect(), and esengine::gatherLodLevels().

◆ skinMismatch

bool esengine::LodLevels::skinMismatch = false

Definition at line 26 of file MeshGeometry.hpp.

Referenced by esengine::gatherLodLevels().


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