Overload  1.1
Game engine with editor
Public Member Functions | List of all members
OvEditor::Core::EditorResources Class Reference

#include <EditorResources.h>

Public Member Functions

 EditorResources (const std::string &p_editorAssetsPath)
 
 ~EditorResources ()
 
OvRendering::Resources::TextureGetFileIcon (const std::string &p_filename)
 
OvRendering::Resources::TextureGetTexture (const std::string &p_id)
 
OvRendering::Resources::ModelGetModel (const std::string &p_id)
 
OvRendering::Resources::ShaderGetShader (const std::string &p_id)
 

Detailed Description

Handle the creation and storage of editor specific resources

Constructor & Destructor Documentation

◆ EditorResources()

OvEditor::Core::EditorResources::EditorResources ( const std::string &  p_editorAssetsPath)

Constructor

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

◆ ~EditorResources()

OvEditor::Core::EditorResources::~EditorResources ( )

Destructor

Member Function Documentation

◆ GetFileIcon()

OvRendering::Resources::Texture * OvEditor::Core::EditorResources::GetFileIcon ( const std::string &  p_filename)

Returns the file icon identified by the given string or nullptr on fail

Parameters
p_filename

◆ GetModel()

OvRendering::Resources::Model * OvEditor::Core::EditorResources::GetModel ( const std::string &  p_id)

Returns the model identified by the given string or nullptr on fail

Parameters
p_id

◆ GetShader()

OvRendering::Resources::Shader * OvEditor::Core::EditorResources::GetShader ( const std::string &  p_id)

Returns the shader identified by the given string or nullptr on fail

Parameters
p_id

◆ GetTexture()

OvRendering::Resources::Texture * OvEditor::Core::EditorResources::GetTexture ( const std::string &  p_id)

Returns the texture identified by the given string or nullptr on fail

Parameters
p_id

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