Finality Engine
Loading...
Searching...
No Matches
FINALITY::AssetManager Class Reference

#include <AssetManager.h>

Static Public Member Functions

static void Initialize ()
static void Shutdown ()
template<typename T, typename... Args>
static std::shared_ptr< T > CreateAsset (const std::string &filePath, Args &&... args)
static std::shared_ptr< Asset > GetAsset (UUID handle)
static bool HasAsset (UUID handle)
static size_t ReloadMaterialShaders (bool force=false)
static void InvalidateAssetPath (const std::string &filePath)
static std::shared_ptr< Texture > ReloadTexture (const std::string &filePath)

Detailed Description

Todo
TODO: Document AssetManager class semantics, ownership and usage.

Definition at line 19 of file AssetManager.h.

Member Function Documentation

◆ Initialize()

void FINALITY::AssetManager::Initialize ( )
static

◆ Shutdown()

void FINALITY::AssetManager::Shutdown ( )
static

◆ CreateAsset()

template<typename T, typename... Args>
std::shared_ptr< T > FINALITY::AssetManager::CreateAsset ( const std::string & filePath,
Args &&... args )
inlinestatic

Definition at line 26 of file AssetManager.h.

◆ GetAsset()

std::shared_ptr< Asset > FINALITY::AssetManager::GetAsset ( UUID handle)
static

◆ HasAsset()

bool FINALITY::AssetManager::HasAsset ( UUID handle)
static

◆ ReloadMaterialShaders()

size_t FINALITY::AssetManager::ReloadMaterialShaders ( bool force = false)
static

◆ InvalidateAssetPath()

void FINALITY::AssetManager::InvalidateAssetPath ( const std::string & filePath)
static

◆ ReloadTexture()

std::shared_ptr< Texture > FINALITY::AssetManager::ReloadTexture ( const std::string & filePath)
static

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