raisin::Material::TextureSlotInfo
struct · #include <rayrai/Material.hpp>
Static per-slot metadata for the TextureSlot enum.
Bundles the data that would otherwise live as parallel tables in Material.cpp: human-facing name, whether the slot carries sRGB color (so loaders pick the right internal format), and whether the slot is tracked in textureUvTransforms[] so callers can iterate slots without a hardcoded list.
Public attributes
name
cpp
const char *nameSame as textureSlotName().
isSrgb
cpp
bool isSrgbColor data that should be uploaded as sRGB.
hasUvTransform
cpp
bool hasUvTransformSlot has an entry in textureUvTransforms.