Skip to content

raisin::FoliageTextureAtlasOptions ​

struct · #include <rayrai/FoliageTextureAtlas.hpp>

Options for buildFoliageTextureAtlasForMeshes().

Public attributes ​

paddingPixels ​

cpp
int paddingPixels

Border around each tile, in pixels.

maxAtlasSize ​

cpp
int maxAtlasSize

Largest atlas side (also capped by GL_MAX_TEXTURE_SIZE).

emitFallbackWarnings ​

cpp
bool emitFallbackWarnings

Print each distinct fallback reason once to stderr (also suppressed by RAYRAI_SUPPRESS_FOLIAGE_TEXTURE_ATLAS_FALLBACK_WARNINGS).

RaiSim — physics for robotics and AI.