Function Kataglyphis::planFlattenedTextureSlots#
Defined in File ObjectDescription.ixx
Function Documentation#
-
inline FlattenedTexturePlan Kataglyphis::planFlattenedTextureSlots(std::span<const uint32_t> textureCountPerModel, uint32_t maxSlots)#
Mirror image of assignTextureOffsets: that function stamps each mesh’s offset into the flattened array, this one builds the array itself, model by model, capping at
maxSlotsand padding the tail with slot 0.