Loading...
Searching...
No Matches
Gfx::AssetTable::DecodedAsset Struct Reference

Detailed Description

Decoded image or raw byte payload. image is preferred for 2D textures (carries QImage's format metadata); bytes for generic buffer assets (vertex/index streams etc.).

Public Attributes

QImage image
 
std::shared_ptr< const std::vector< uint8_t > > bytes
 
std::string mime_type
 
int64_t refcount {0}
 
std::size_t byte_size {0}
 

The documentation for this struct was generated from the following file: