Skip to content

EntropyEngine::Core::IO::AssetInfo

Metadata for a single asset within a package or catalog. More…

#include <PackageTypes.h>

Name
std::stringuri
uint64_tuncompressedSize
Hash256plaintextHash
boolpersistent
std::stringpath
uint64_toffset
EntropyCanvas::AssetIdid
std::stringhash
boolencrypted
ContentTypecontentType
uint64_tcompressedSize
std::stringappId
struct EntropyEngine::Core::IO::AssetInfo;

Metadata for a single asset within a package or catalog.

This struct serves dual purposes:

  1. Package manifest: Describes assets stored in .epak files
  2. Asset catalog: Describes assets advertised to CanvasEngine

For package use, path, offset, compressedSize, uncompressedSize are required. For catalog use, id, uri, contentType are required.

std::string uri;
uint64_t uncompressedSize = 0;
Hash256 plaintextHash {};
bool persistent = false;
std::string path;
uint64_t offset = 0;
EntropyCanvas::AssetId id;
std::string hash;
bool encrypted = false;
ContentType contentType = ContentType::Mesh;
uint64_t compressedSize = 0;
std::string appId;

Updated on 2026-01-26 at 17:14:35 -0500