My Project
Loading...
Searching...
No Matches
Engine::Application Class Reference

Main engine application class. Manages the window and Direct3D11 context. More...

#include <App.hpp>

Public Member Functions

D3D11getD3D11 ()
 Returns a raw pointer to the D3D11 instance. Useful for accessing Direct3D features in other parts of the engine.
WindowOpenergetWindowOpener ()
 Returns a reference to the WindowOpener instance. Allows controlling the window from other engine modules.
void initApp ()
 Initializes the application, including the window and D3D11 context.

Public Attributes

std::unique_ptr< WindowOpenerwindowOpener
 Window manager responsible for creating and handling the application window.

Detailed Description

Main engine application class. Manages the window and Direct3D11 context.

Member Function Documentation

◆ getD3D11()

D3D11 * Engine::Application::getD3D11 ( )
inline

Returns a raw pointer to the D3D11 instance. Useful for accessing Direct3D features in other parts of the engine.

Returns
Pointer to the D3D11 instance

◆ getWindowOpener()

WindowOpener & Engine::Application::getWindowOpener ( )
inline

Returns a reference to the WindowOpener instance. Allows controlling the window from other engine modules.

Returns
Reference to the WindowOpener

◆ initApp()

void Engine::Application::initApp ( )

Initializes the application, including the window and D3D11 context.

Member Data Documentation

◆ windowOpener

std::unique_ptr<WindowOpener> Engine::Application::windowOpener

Window manager responsible for creating and handling the application window.


The documentation for this class was generated from the following file:
  • Engine/Core/Headers/Application/App.hpp