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

#include <ModelManager.h>

Inheritance diagram for OvCore::ResourceManagement::ModelManager:
OvCore::ResourceManagement::AResourceManager< OvRendering::Resources::Model >

Public Member Functions

virtual OvRendering::Resources::ModelCreateResource (const std::string &p_path) override
 
virtual void DestroyResource (OvRendering::Resources::Model *p_resource) override
 
- Public Member Functions inherited from OvCore::ResourceManagement::AResourceManager< OvRendering::Resources::Model >
OvRendering::Resources::ModelLoadResource (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::ModelRegisterResource (const std::string &p_path, OvRendering::Resources::Model *p_instance)
 
void UnregisterResource (const std::string &p_path)
 
OvRendering::Resources::ModelGetResource (const std::string &p_path, bool p_tryToLoadIfNotFound=true)
 
OvRendering::Resources::Modeloperator[] (const std::string &p_path)
 
std::unordered_map< std::string, OvRendering::Resources::Model * > & GetResources ()
 

Additional Inherited Members

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

Detailed Description

ResourceManager of models

Member Function Documentation

◆ CreateResource()

OvRendering::Resources::Model * OvCore::ResourceManagement::ModelManager::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::Model >.

◆ DestroyResource()

void OvCore::ResourceManagement::ModelManager::DestroyResource ( OvRendering::Resources::Model p_resource)
overridevirtual

Destroy the given resource

Parameters
p_resource

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


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