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

What a frame's selections came to, counted where each one is made. More...

#include <LodSelection.hpp>

Public Member Functions

void record (u8 level_)

Public Attributes

u32 selections = 0
u32 level [kMaxStandIns+1] {}
u32 culled = 0

Detailed Description

What a frame's selections came to, counted where each one is made.

One SELECTION per view per object, not one per object: a frame with two cameras counts the same object twice, and the two counts differing is the only evidence that the two views decided independently.

Definition at line 115 of file LodSelection.hpp.

Member Function Documentation

◆ record()

void esengine::lod::SelectionCounts::record ( u8 level_)
inline

Member Data Documentation

◆ culled

u32 esengine::lod::SelectionCounts::culled = 0

Definition at line 118 of file LodSelection.hpp.

Referenced by record().

◆ level

u32 esengine::lod::SelectionCounts::level[kMaxStandIns+1] {}

Definition at line 117 of file LodSelection.hpp.

Referenced by record().

◆ selections

u32 esengine::lod::SelectionCounts::selections = 0

Definition at line 116 of file LodSelection.hpp.

Referenced by record().


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