载入中...
搜索中...
未找到
Evpack.h 文件参考

Versioned random-access runtime package produced by the asset cooker. 更多...

#include "common/Export.h"
#include "common/Identity.h"
#include "common/Result.h"
#include "common/SchemaVersion.h"
#include <array>
#include <cstddef>
#include <cstdint>
#include <span>
#include <memory>
#include <optional>
#include <string>
#include <vector>

浏览源代码.

类

struct  eve::asset::EvpackSignature
 Fixed-size detached publisher signature stored in a v1 runtime pack. 更多...
 
class  eve::asset::EvpackSigner
 Tool-side provider that signs the authenticated 32-byte package metadata digest. 更多...
 
class  eve::asset::EvpackSignatureVerifier
 Runtime trust provider supplied by the application/project policy. 更多...
 
struct  eve::asset::EvpackTrust
 Trust inputs kept separate from size/resource limits. 更多...
 
struct  eve::asset::EvpackVariant
 Capability-addressed runtime representation; list order is fallback order. 更多...
 
struct  eve::asset::EvpackCapabilities
 Actual runtime device capabilities used for variant selection. 更多...
 
struct  eve::asset::EvpackChunkInput
 Cooker-owned uncompressed chunk before deterministic package assembly. 更多...
 
struct  eve::asset::EvpackBuild
 Complete input to deterministic .evpack assembly. 更多...
 
struct  eve::asset::EvpackLimits
 Resource limits checked before package allocations and hash work. 更多...
 
struct  eve::asset::EvpackChunk
 Admitted immutable chunk metadata. 更多...
 
struct  eve::asset::EvpackVariantSelection
 Result of ordered capability variant selection. 更多...
 
class  eve::asset::Evpack
 Fully admitted owning runtime pack. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::asset
 

枚举

enum class  eve::asset::EvpackChunkKind : std::uint16_t {
  eve::asset::Definition = 1 , eve::asset::Bulk = 2 , eve::asset::Stream = 3 , eve::asset::Shader = 4 ,
  eve::asset::Dictionary = 5 , eve::asset::DebugName = 6
}
 Semantic role of a runtime chunk. 更多...
 
enum class  eve::asset::EvpackCodec : std::uint16_t { eve::asset::None = 0 , eve::asset::Zstd = 1 }
 Physical outer compression applied to one runtime chunk. 更多...
 
enum class  eve::asset::EvpackSignaturePolicy : std::uint8_t { eve::asset::AllowUnsignedDevelopment , eve::asset::RequireTrustedSignature }
 Admission policy for unsigned development packages. 更多...
 

函数

Result< std::vector< std::uint8_t > > eve::asset::buildEvpack (EvpackBuild build, const EvpackLimits &limits={})
 Build deterministic little-endian .evpack bytes from validated Cook output.
 
Result< Evpack > eve::asset::parseEvpack (std::span< const std::uint8_t > bytes, const EvpackLimits &limits={}, const EvpackTrust &trust={})
 Parse, bound-check and hash-verify a complete untrusted .evpack.
 
Result< Evpack > eve::asset::parseEvpackMetadata (std::span< const std::uint8_t > metadataPrefix, std::uint64_t packageSize, const EvpackLimits &limits={}, const EvpackTrust &trust={})
 Admit only the contiguous header/manifest/TOC prefix of a range-readable package.
 
Result< EvpackVariantSelection > eve::asset::selectEvpackVariant (const Evpack &pack, const EvpackCapabilities &capabilities)
 Select the first explicitly ordered variant satisfied by device capabilities.
 

详细描述

Versioned random-access runtime package produced by the asset cooker.

在文件 Evpack.h 中定义.