XII Release 0.1.0
Loading...
Searching...
No Matches
xiiAssetDocument::ThumbnailInfo Class Reference

The thumbnail info containing the hash of the file is appended to assets. The serialized size of this class can't change since it is found by seeking to the end of the file. More...

#include <AssetDocument.h>

Public Member Functions

xiiResult Deserialize (xiiStreamReader &inout_reader)
 
xiiResult Serialize (xiiStreamWriter &inout_writer) const
 
bool IsThumbnailUpToDate (xiiUInt64 uiExpectedHash, xiiUInt16 uiVersion) const
 Checks whether the stored file contains the same hash.
 
void SetFileHashAndVersion (xiiUInt64 uiHash, xiiUInt16 v)
 Sets the asset file hash.
 
constexpr xiiUInt32 GetSerializedSize () const
 Returns the serialized size of the thumbnail info. Used to seek to the end of the file and find the thumbnail info struct.
 

Detailed Description

The thumbnail info containing the hash of the file is appended to assets. The serialized size of this class can't change since it is found by seeking to the end of the file.


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