Struct FlattenedTexturePlan#

Struct Documentation#

struct FlattenedTexturePlan#

Result of flattening every model’s textures into the global array, in model order - the same order assignTextureOffsets advances offset in. slots is either empty (no textures at all) or padded to exactly maxSlots entries by repeating slots.front() (every fixed-size descriptor binding slot must hold a valid descriptor). requestedCount is the sum of textures across every model, even past the cap, so the caller can report the true overflow instead of just the collected count.

Public Members

std::vector<FlattenedTextureSlot> slots#
uint32_t requestedCount#
bool exhausted#