Overload  1.1
Game engine with editor
Public Member Functions | List of all members
OvCore::ResourceManagement::TextureManager Class Reference

#include <TextureManager.h>

Inheritance diagram for OvCore::ResourceManagement::TextureManager:
OvCore::ResourceManagement::AResourceManager< OvRendering::Resources::Texture >

Public Member Functions

virtual OvRendering::Resources::TextureCreateResource (const std::string &p_path) override
 
virtual void DestroyResource (OvRendering::Resources::Texture *p_resource) override
 
- Public Member Functions inherited from OvCore::ResourceManagement::AResourceManager< OvRendering::Resources::Texture >
OvRendering::Resources::TextureLoadResource (const std::string &p_path)
 
void UnloadResource (const std::string &p_path)
 
bool MoveResource (const std::string &p_previousPath, const std::string &p_newPath)
 
bool IsResourceRegistered (const std::string &p_path)
 
void UnloadResources ()
 
OvRendering::Resources::TextureRegisterResource (const std::string &p_path, OvRendering::Resources::Texture *p_instance)
 
void UnregisterResource (const std::string &p_path)
 
OvRendering::Resources::TextureGetResource (const std::string &p_path, bool p_tryToLoadIfNotFound=true)
 
OvRendering::Resources::Textureoperator[] (const std::string &p_path)
 
std::unordered_map< std::string, OvRendering::Resources::Texture * > & GetResources ()
 

Additional Inherited Members

- Static Public Member Functions inherited from OvCore::ResourceManagement::AResourceManager< OvRendering::Resources::Texture >
static void ProvideAssetPaths (const std::string &p_projectAssetsPath, const std::string &p_engineAssetsPath)
 
- Protected Member Functions inherited from OvCore::ResourceManagement::AResourceManager< OvRendering::Resources::Texture >
std::string GetRealPath (const std::string &p_path) const
 

Detailed Description

ResourceManager of textures

Member Function Documentation

◆ CreateResource()

OvRendering::Resources::Texture * OvCore::ResourceManagement::TextureManager::CreateResource ( const std::string &  p_path)
overridevirtual

Create the resource identified by the given path

Parameters
p_path@project: Overload
Author
: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

Implements OvCore::ResourceManagement::AResourceManager< OvRendering::Resources::Texture >.

◆ DestroyResource()

void OvCore::ResourceManagement::TextureManager::DestroyResource ( OvRendering::Resources::Texture p_resource)
overridevirtual

Destroy the given resource

Parameters
p_resource

Implements OvCore::ResourceManagement::AResourceManager< OvRendering::Resources::Texture >.


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