Struct ParsedTexture#

Struct Documentation#

struct ParsedTexture#

One texture slot as OxidANT’s loader hands it over, viewing the bridge’s arrays: an RGBA8 mip chain, level 0 first and packed back to back, or, for a format only stb reads (PSD, PIC), levelCount 0 and the file’s bytes.

Public Members

uint32_t width = 0#
uint32_t height = 0#
uint32_t levelCount = 0#
std::span<const unsigned char> rgba8#
std::span<const unsigned char> encoded#