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

The screen sizes a group hands over at, in the order it hands them over. More...

#include <LodSelection.hpp>

Public Attributes

f32 takeOver [kMaxStandIns] {}
f32 cull = 0.0f
f32 hysteresis = 0.0f
u8 count = 0

Detailed Description

The screen sizes a group hands over at, in the order it hands them over.

takeOver[i] is the boundary between level i and level i+1 and must descend; cull is the last boundary of all. hysteresis is the fraction a boundary is raised by to be crossed toward the FINER side.

Definition at line 43 of file LodSelection.hpp.

Member Data Documentation

◆ count

u8 esengine::lod::LevelSet::count = 0

◆ cull

f32 esengine::lod::LevelSet::cull = 0.0f

Definition at line 45 of file LodSelection.hpp.

Referenced by esengine::gatherLodLevels(), and esengine::lod::selectLevel().

◆ hysteresis

f32 esengine::lod::LevelSet::hysteresis = 0.0f

Definition at line 46 of file LodSelection.hpp.

Referenced by esengine::gatherLodLevels(), and esengine::lod::selectLevel().

◆ takeOver

f32 esengine::lod::LevelSet::takeOver[kMaxStandIns] {}

Definition at line 44 of file LodSelection.hpp.

Referenced by esengine::gatherLodLevels(), and esengine::lod::selectLevel().


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