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

#include <Context.h>

Public Member Functions

 Context (const std::string &p_projectPath, const std::string &p_projectName)
 
 ~Context ()
 
void ResetProjectSettings ()
 
bool IsProjectSettingsIntegrityVerified ()
 
void ApplyProjectSettings ()
 

Public Attributes

const std::string projectPath
 
const std::string projectName
 
const std::string projectFilePath
 
const std::string engineAssetsPath
 
const std::string projectAssetsPath
 
const std::string projectScriptsPath
 
const std::string editorAssetsPath
 
std::unique_ptr< OvWindowing::Context::Devicedevice
 
std::unique_ptr< OvWindowing::Windowwindow
 
std::unique_ptr< OvWindowing::Inputs::InputManagerinputManager
 
std::unique_ptr< OvRendering::Context::Driverdriver
 
std::unique_ptr< OvCore::ECS::Rendererrenderer
 
std::unique_ptr< OvRendering::Core::ShapeDrawershapeDrawer
 
std::unique_ptr< OvUI::Core::UIManageruiManager
 
std::unique_ptr< OvPhysics::Core::PhysicsEnginephysicsEngine
 
std::unique_ptr< OvAudio::Core::AudioEngineaudioEngine
 
std::unique_ptr< OvAudio::Core::AudioPlayeraudioPlayer
 
std::unique_ptr< OvEditor::Core::EditorResourceseditorResources
 
std::unique_ptr< OvCore::Scripting::ScriptInterpreterscriptInterpreter
 
std::unique_ptr< OvRendering::Buffers::UniformBufferengineUBO
 
std::unique_ptr< OvRendering::Buffers::ShaderStorageBufferlightSSBO
 
std::unique_ptr< OvRendering::Buffers::ShaderStorageBuffersimulatedLightSSBO
 
OvCore::SceneSystem::SceneManager sceneManager
 
OvCore::ResourceManagement::ModelManager modelManager
 
OvCore::ResourceManagement::TextureManager textureManager
 
OvCore::ResourceManagement::ShaderManager shaderManager
 
OvCore::ResourceManagement::MaterialManager materialManager
 
OvCore::ResourceManagement::SoundManager soundManager
 
OvWindowing::Settings::WindowSettings windowSettings
 
OvTools::Filesystem::IniFile projectSettings
 

Detailed Description

The Context handle the engine features setup

Constructor & Destructor Documentation

◆ Context()

OvEditor::Core::Context::Context ( const std::string &  p_projectPath,
const std::string &  p_projectName 
)

Constructor

Parameters
p_projectPath
p_projectName

◆ ~Context()

OvEditor::Core::Context::~Context ( )

Destructor

Member Function Documentation

◆ ApplyProjectSettings()

void OvEditor::Core::Context::ApplyProjectSettings ( )

Apply project settings to the ini file

◆ IsProjectSettingsIntegrityVerified()

bool OvEditor::Core::Context::IsProjectSettingsIntegrityVerified ( )

Verify that project settings are complete (No missing key). Returns true if the integrity is verified

◆ ResetProjectSettings()

void OvEditor::Core::Context::ResetProjectSettings ( )

Reset project settings ini file

Member Data Documentation

◆ audioEngine

std::unique_ptr<OvAudio::Core::AudioEngine> OvEditor::Core::Context::audioEngine

◆ audioPlayer

std::unique_ptr<OvAudio::Core::AudioPlayer> OvEditor::Core::Context::audioPlayer

◆ device

std::unique_ptr<OvWindowing::Context::Device> OvEditor::Core::Context::device

◆ driver

std::unique_ptr<OvRendering::Context::Driver> OvEditor::Core::Context::driver

◆ editorAssetsPath

const std::string OvEditor::Core::Context::editorAssetsPath

◆ editorResources

std::unique_ptr<OvEditor::Core::EditorResources> OvEditor::Core::Context::editorResources

◆ engineAssetsPath

const std::string OvEditor::Core::Context::engineAssetsPath

◆ engineUBO

std::unique_ptr<OvRendering::Buffers::UniformBuffer> OvEditor::Core::Context::engineUBO

◆ inputManager

std::unique_ptr<OvWindowing::Inputs::InputManager> OvEditor::Core::Context::inputManager

◆ lightSSBO

std::unique_ptr<OvRendering::Buffers::ShaderStorageBuffer> OvEditor::Core::Context::lightSSBO

◆ materialManager

OvCore::ResourceManagement::MaterialManager OvEditor::Core::Context::materialManager

◆ modelManager

OvCore::ResourceManagement::ModelManager OvEditor::Core::Context::modelManager

◆ physicsEngine

std::unique_ptr<OvPhysics::Core::PhysicsEngine> OvEditor::Core::Context::physicsEngine

◆ projectAssetsPath

const std::string OvEditor::Core::Context::projectAssetsPath

◆ projectFilePath

const std::string OvEditor::Core::Context::projectFilePath

◆ projectName

const std::string OvEditor::Core::Context::projectName

◆ projectPath

const std::string OvEditor::Core::Context::projectPath

◆ projectScriptsPath

const std::string OvEditor::Core::Context::projectScriptsPath

◆ projectSettings

OvTools::Filesystem::IniFile OvEditor::Core::Context::projectSettings

◆ renderer

std::unique_ptr<OvCore::ECS::Renderer> OvEditor::Core::Context::renderer

◆ sceneManager

OvCore::SceneSystem::SceneManager OvEditor::Core::Context::sceneManager

◆ scriptInterpreter

std::unique_ptr<OvCore::Scripting::ScriptInterpreter> OvEditor::Core::Context::scriptInterpreter

◆ shaderManager

OvCore::ResourceManagement::ShaderManager OvEditor::Core::Context::shaderManager

◆ shapeDrawer

std::unique_ptr<OvRendering::Core::ShapeDrawer> OvEditor::Core::Context::shapeDrawer

◆ simulatedLightSSBO

std::unique_ptr<OvRendering::Buffers::ShaderStorageBuffer> OvEditor::Core::Context::simulatedLightSSBO

◆ soundManager

OvCore::ResourceManagement::SoundManager OvEditor::Core::Context::soundManager

◆ textureManager

OvCore::ResourceManagement::TextureManager OvEditor::Core::Context::textureManager

◆ uiManager

std::unique_ptr<OvUI::Core::UIManager> OvEditor::Core::Context::uiManager

◆ window

std::unique_ptr<OvWindowing::Window> OvEditor::Core::Context::window

◆ windowSettings

OvWindowing::Settings::WindowSettings OvEditor::Core::Context::windowSettings

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