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 &source_path)
 
void compute_source_sha ()
 

Public Attributes

fs::path source_file_path
 Path to the source file.
 
fs::file_time_type::clock::time_point source_timestamp
 Timestamp when the asset was compiled.
 
std::string source_sha
 SHA1 hash of the source file content.
 

Detailed Description

Manifest data for compiled assets.

Definition at line 13 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 & source_path)
inline

Definition at line 26 of file asset_manifest.h.

Member Function Documentation

◆ compute_source_sha()

void unravel::asset_compiler::asset_manifest::compute_source_sha ( )

Definition at line 16 of file asset_manifest.cpp.

Member Data Documentation

◆ source_file_path

fs::path unravel::asset_compiler::asset_manifest::source_file_path

Path to the source file.

Definition at line 16 of file asset_manifest.h.

◆ source_sha

std::string unravel::asset_compiler::asset_manifest::source_sha

SHA1 hash of the source file content.

Definition at line 21 of file asset_manifest.h.

◆ source_timestamp

fs::file_time_type::clock::time_point unravel::asset_compiler::asset_manifest::source_timestamp

Timestamp when the asset was compiled.

Definition at line 18 of file asset_manifest.h.


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