EntropyEngine::Core::IO::AssetInfo
EntropyEngine::Core::IO::AssetInfo
Section titled “EntropyEngine::Core::IO::AssetInfo”Metadata for a single asset within a package or catalog. More…
#include <PackageTypes.h>
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| std::string | uri |
| uint64_t | uncompressedSize |
| Hash256 | plaintextHash |
| bool | persistent |
| std::string | path |
| uint64_t | offset |
| EntropyCanvas::AssetId | id |
| std::string | hash |
| bool | encrypted |
| ContentType | contentType |
| uint64_t | compressedSize |
| std::string | appId |
Detailed Description
Section titled “Detailed Description”struct EntropyEngine::Core::IO::AssetInfo;Metadata for a single asset within a package or catalog.
This struct serves dual purposes:
- Package manifest: Describes assets stored in .epak files
- Asset catalog: Describes assets advertised to CanvasEngine
For package use, path, offset, compressedSize, uncompressedSize are required. For catalog use, id, uri, contentType are required.
Public Attributes Documentation
Section titled “Public Attributes Documentation”variable uri
Section titled “variable uri”std::string uri;variable uncompressedSize
Section titled “variable uncompressedSize”uint64_t uncompressedSize = 0;variable plaintextHash
Section titled “variable plaintextHash”Hash256 plaintextHash {};variable persistent
Section titled “variable persistent”bool persistent = false;variable path
Section titled “variable path”std::string path;variable offset
Section titled “variable offset”uint64_t offset = 0;variable id
Section titled “variable id”EntropyCanvas::AssetId id;variable hash
Section titled “variable hash”std::string hash;variable encrypted
Section titled “variable encrypted”bool encrypted = false;variable contentType
Section titled “variable contentType”ContentType contentType = ContentType::Mesh;variable compressedSize
Section titled “variable compressedSize”uint64_t compressedSize = 0;variable appId
Section titled “variable appId”std::string appId;Updated on 2026-01-26 at 17:14:35 -0500