Struct TextureMetadata

Struct Documentation

struct TextureMetadata

Format-specific metadata for texture resources.

Extracted during database scanning or loader enrichment. Contains information about the texture format that loaders need to properly decode and upload to GPU memory.

Public Functions

void archive(ArchiveObject &archive) const

Public Members

bool hdr
size_t width
size_t height
renderer::ImageFormat format

Public Static Functions

static TextureMetadata dearchive(const ArchiveObject &archive)