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

#include <MaterialManager.h>

Inheritance diagram for OvCore::ResourceManagement::MaterialManager:
OvCore::ResourceManagement::AResourceManager< OvCore::Resources::Material >

Public Member Functions

virtual OvCore::Resources::MaterialCreateResource (const std::string &p_path) override
 
virtual void DestroyResource (OvCore::Resources::Material *p_resource) override
 
- Public Member Functions inherited from OvCore::ResourceManagement::AResourceManager< OvCore::Resources::Material >
OvCore::Resources::MaterialLoadResource (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 ()
 
OvCore::Resources::MaterialRegisterResource (const std::string &p_path, OvCore::Resources::Material *p_instance)
 
void UnregisterResource (const std::string &p_path)
 
OvCore::Resources::MaterialGetResource (const std::string &p_path, bool p_tryToLoadIfNotFound=true)
 
OvCore::Resources::Materialoperator[] (const std::string &p_path)
 
std::unordered_map< std::string, OvCore::Resources::Material * > & GetResources ()
 

Additional Inherited Members

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

Detailed Description

ResourceManager of materials

Member Function Documentation

◆ CreateResource()

OvCore::Resources::Material * OvCore::ResourceManagement::MaterialManager::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< OvCore::Resources::Material >.

◆ DestroyResource()

void OvCore::ResourceManagement::MaterialManager::DestroyResource ( OvCore::Resources::Material p_resource)
overridevirtual

Destroy the given resource

Parameters
p_resource

Implements OvCore::ResourceManagement::AResourceManager< OvCore::Resources::Material >.


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