Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::asset_compiler::asset_manifest Struct Reference

Manifest data for compiled assets. More...

#include <asset_manifest.h>

Public Member Functions

 asset_manifest ()=default
 
 asset_manifest (const fs::path &key)
 
void compute_source_fingerprint (const fs::path &source_key)
 Compute fingerprint from source file only.
 
void compute_source_fingerprint (const fs::path &source_key, const std::vector< fs::path > &dependency_paths)
 

Public Attributes

std::string source_fingerprint
 Content fingerprint of source inputs (xxHash3 128-bit hex).
 
uint64_t format_version = 0
 Version of the compiled format.
 
uint64_t fingerprint_version = 0
 Fingerprint algorithm version. Legacy manifests use 0 (SHA1).
 

Detailed Description

Manifest data for compiled assets.

Definition at line 24 of file asset_manifest.h.

Constructor & Destructor Documentation

◆ asset_manifest() [1/2]

unravel::asset_compiler::asset_manifest::asset_manifest ( )
default

◆ asset_manifest() [2/2]

unravel::asset_compiler::asset_manifest::asset_manifest ( const fs::path & key)
inline

Definition at line 38 of file asset_manifest.h.

Member Function Documentation

◆ compute_source_fingerprint() [1/2]

void unravel::asset_compiler::asset_manifest::compute_source_fingerprint ( const fs::path & source_key)

Compute fingerprint from source file only.

Definition at line 25 of file asset_manifest.cpp.

◆ compute_source_fingerprint() [2/2]

void unravel::asset_compiler::asset_manifest::compute_source_fingerprint ( const fs::path & source_key,
const std::vector< fs::path > & dependency_paths )

Compute fingerprint from the source file plus external dependency paths (in that order). If dependency_paths is empty, falls back to source-only.

Definition at line 30 of file asset_manifest.cpp.

Member Data Documentation

◆ fingerprint_version

uint64_t unravel::asset_compiler::asset_manifest::fingerprint_version = 0

Fingerprint algorithm version. Legacy manifests use 0 (SHA1).

Definition at line 34 of file asset_manifest.h.

◆ format_version

uint64_t unravel::asset_compiler::asset_manifest::format_version = 0

Version of the compiled format.

Definition at line 31 of file asset_manifest.h.

◆ source_fingerprint

std::string unravel::asset_compiler::asset_manifest::source_fingerprint

Content fingerprint of source inputs (xxHash3 128-bit hex).

Definition at line 28 of file asset_manifest.h.


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