![]() |
ezEngine
Release 25.03
|
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 | |
ezResult | Deserialize (ezStreamReader &inout_reader) |
ezResult | Serialize (ezStreamWriter &inout_writer) const |
bool | IsThumbnailUpToDate (ezUInt64 uiExpectedHash, ezUInt16 uiVersion) const |
Checks whether the stored file contains the same hash. | |
void | SetFileHashAndVersion (ezUInt64 uiHash, ezUInt16 v) |
Sets the asset file hash. | |
constexpr ezUInt32 | 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. | |
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.