Skip to content

raisin::FoliageGeometryAtlasResult ​

struct · #include <rayrai/FoliageGeometryAtlas.hpp>

Outcome of buildFoliageGeometryAtlasForMeshes().

Public attributes ​

used ​

cpp
bool used

The mesh list was replaced by views into one shared atlas mesh.

candidateMeshCount ​

cpp
std::size_t candidateMeshCount

Meshes that passed eligibility checks.

atlasedMeshCount ​

cpp
std::size_t atlasedMeshCount

Meshes merged into the atlas.

atlasVertexCount ​

cpp
std::size_t atlasVertexCount

Vertices in the atlas mesh.

atlasIndexCount ​

cpp
std::size_t atlasIndexCount

Indices in the atlas mesh.

fallbackWarnings ​

cpp
std::vector<std::string> fallbackWarnings

Reasons the atlas was not built.

RaiSim — physics for robotics and AI.