My Project
Loading...
Searching...
No Matches
TextureManager Class Reference

#include <TextureManager.hpp>

Public Member Functions

void Initialize (ID3D11Device *device)
std::shared_ptr< TextureAssetLoadTexture (const std::string &path)
void Reload (const std::string &path)
void UnloadAll ()
ID3D11Device * GetDevice () const
 TextureManager ()=default
 ~TextureManager ()
 TextureManager (const TextureManager &)=delete
TextureManageroperator= (const TextureManager &)=delete

Static Public Member Functions

static TextureManagerGet ()

Constructor & Destructor Documentation

◆ TextureManager() [1/2]

TextureManager::TextureManager ( )
default

◆ ~TextureManager()

TextureManager::~TextureManager ( )

◆ TextureManager() [2/2]

TextureManager::TextureManager ( const TextureManager & )
delete

Member Function Documentation

◆ Get()

TextureManager & TextureManager::Get ( )
static

◆ GetDevice()

ID3D11Device * TextureManager::GetDevice ( ) const
inline

◆ Initialize()

void TextureManager::Initialize ( ID3D11Device * device)

◆ LoadTexture()

std::shared_ptr< TextureAsset > TextureManager::LoadTexture ( const std::string & path)

◆ operator=()

TextureManager & TextureManager::operator= ( const TextureManager & )
delete

◆ Reload()

void TextureManager::Reload ( const std::string & path)

◆ UnloadAll()

void TextureManager::UnloadAll ( )

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