Skip to content

raisin::RayraiGlobalAsset::MeshLodChain ​

struct · #include <rayrai/RayraiGlobalAsset.hpp>

Internal: cached automatic-LOD chain shared by Visuals of the same source mesh.

Public attributes ​

levels ​

cpp
std::vector<std::shared_ptr<std::vector<std::shared_ptr<OpenGLMesh>>>> levels

LOD 1, 2, ... mesh lists.

triangleCounts ​

cpp
std::vector<size_t> triangleCounts

Source (LOD 0) triangle count, then one per generated level.

captureGeometry ​

cpp
std::shared_ptr<rayrai_internal::FoliageCaptureGeometry> captureGeometry

Internal foliage-capture data; may be null.

RaiSim — physics for robotics and AI.