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

A mesh's clusters and the indices they name, every level together. More...

#include <ClusterSelection.hpp>

Public Attributes

std::vector< Cluster > clusters
std::vector< u32 > indices

Detailed Description

A mesh's clusters and the indices they name, every level together.

Kept in memory because a cut is assembled from it: the indices a view draws are copied out of here into the buffer it draws with. Level 0 comes first and is the mesh's own triangles.

Definition at line 50 of file ClusterSelection.hpp.

Member Data Documentation

◆ clusters

◆ indices

std::vector<u32> esengine::lod::ClusterHierarchy::indices

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