Plasma Engine  2.0
Loading...
Searching...
No Matches
plAssetDocument::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

plResult Deserialize (plStreamReader &inout_reader)
 
plResult Serialize (plStreamWriter &inout_writer) const
 
bool IsThumbnailUpToDate (plUInt64 uiExpectedHash, plUInt16 uiVersion) const
 Checks whether the stored file contains the same hash.
 
void SetFileHashAndVersion (plUInt64 uiHash, plUInt16 v)
 Sets the asset file hash.
 
constexpr plUInt32 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: