XII Release 0.1.0
Loading...
Searching...
No Matches
xiiAssetTable Struct Reference

#include <AssetTableWriter.h>

Classes

struct  ManagerResource

Public Member Functions

xiiResult WriteAssetTable ()
 Copyright (c) Theophilus Eriata. All Rights Reserved.
void Remove (const xiiSubAsset &subAsset)
void Update (const xiiSubAsset &subAsset)
void AddManagerResource (xiiStringView sGuid, xiiStringView sPath, xiiStringView sType)

Public Attributes

xiiString m_sDataDir
xiiString m_sTargetFile
const xiiPlatformProfile * m_pProfile = nullptr
bool m_bDirty = true
bool m_bReset = true
xiiMap< xiiString, ManagerResource > m_GuidToManagerResource
xiiMap< xiiString, xiiString > m_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. xiiAssetDocumentManager::AddEntriesToAssetTable does never change over time
  2. xiiAssetDocumentManager::GetAssetTableEntry never changes over the lifetime of an asset.

The documentation for this struct was generated from the following files:
  • /home/runner/work/XII/XII/Source/Editor/EditorFramework/Assets/AssetTableWriter.h
  • /home/runner/work/XII/XII/Source/Editor/EditorFramework/Assets/Implementation/AssetTableWriter.cpp