Plasma Engine  2.0
Loading...
Searching...
No Matches
plAssetTable Struct Reference

Asset table class. Persistent cache for an asset table. More...

#include <AssetTableWriter.h>

Classes

struct  ManagerResource
 

Public Member Functions

plResult WriteAssetTable ()
 
void Remove (const plSubAsset &subAsset)
 
void Update (const plSubAsset &subAsset)
 
void AddManagerResource (plStringView sGuid, plStringView sPath, plStringView sType)
 

Public Attributes

plString m_sDataDir
 
plString m_sTargetFile
 
const plPlatformProfilem_pProfile = nullptr
 
bool m_bDirty = true
 
bool m_bReset = true
 
plMap< plString, ManagerResourcem_GuidToManagerResource
 
plMap< plString, plStringm_GuidToPath
 

Detailed Description

Asset table class. Persistent cache for an asset table.

The following assumptions need to be true for this cache to work:

  1. plAssetDocumentManager::AddEntriesToAssetTable does never change over time
  2. plAssetDocumentManager::GetAssetTableEntry never changes over the lifetime of an asset.

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