Blowbox 2017
A 3D Game Engine by Riko Ophorst using DirectX 12
|
#include <get.h>
Static Protected Attributes | |
static Get * | instance_ = nullptr |
Friends | |
class | BlowboxCore |
Provides clean access to all subsystems.
The Get class is essentially a set of getters. It allows you to access all the subsystems in the entire engine via a very simple interface that just works. The Get class itself stores only WeakPtr's of the subsystems, so it doesn't own any subsystems - it only caches them. Upon request of a subsystem, the WeakPtr is converted into a SharedPtr that is provided to you.
|
protected |
Constructs the Get class.
|
protected |
Destructs the Get class.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protected |
Checks if all systems are set. If any are missing, it will assert.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protected |
Sets the BlowboxCore instance.
[in] | blowbox_core | The instance of BlowboxCore. |
|
protected |
Sets the GLFWManager instance.
[in] | glfw_manager | The instance of GLFWManager. |
|
protected |
Sets the main Window instance.
[in] | main_window | The instance of Window. |
|
protected |
Sets the ForwardRenderer instance.
[in] | forward_renderer | The instance of ForwardRenderer. |
|
protected |
Sets the DeferredRenderer instance.
[in] | deferred_renderer | The instance of DeferredRenderer. |
|
protected |
Sets the CommandContextManager instance.
[in] | command_context_manager | The instance of CommandContextManager. |
|
protected |
Sets the CommandManager instance.
[in] | command_manager | The instance of CommandManager. |
|
protected |
Sets the Device instance.
[in] | device | The instance of Device. |
|
protected |
Sets the SwapChain instance.
[in] | swap_chain | The instance of the SwapChain. |
|
protected |
Sets the ImGuiManager instance.
[in] | imgui_manager | The instance of the ImGuiManager. |
|
protected |
Sets the SceneManager instance.
[in] | scene_manager | The instance of the SceneManager. |
|
protected |
Sets the DebugMenu instance.
[in] | debug_menu | The instance of the DebugMenu. |
|
protected |
Sets the Console instance.
[in] | console | The instance of the Console. |
|
protected |
Sets the Time instance.
[in] | time | The instance of the Time. |
|
protected |
Sets the PerformanceProfiler instance.
[in] | instance | The instance of the PerformanceProfiler. |
|
protected |
Sets the MemoryProfiler instance.
[in] | instance | The instance of the MemoryProfiler. |
|
protected |
Sets the FrameStats instance.
[in] | instance | The instance of the FrameStats. |
|
protected |
Sets the MemoryStats instance.
[in] | instance | The instance of the MemoryStats. |
|
protected |
Sets the DescriptorHeap instance for cbv/srv/uavs.
[in] | heap | The instance of DescriptorHeap for cbv/srv/uavs. |
|
protected |
Sets the DescriptorHeap instance for depth stencil views.
[in] | heap | The instance of DescriptorHeap for depth stencil views. |
|
protected |
Sets the DescriptorHeap instance for render target views.
[in] | heap | The instance of DescriptorHeap for render target views. |
|
private |
The BlowboxCore instance.
|
private |
DescriptorHeap for cbv/srv/uavs.
|
private |
The CommandContextManager instance.
|
private |
The CommandManager instance.
|
private |
The Console instance.
|
private |
The DebugMenu instance.
|
private |
The DeferredRenderer that is used to render stuff to the main Window.
|
private |
The render Device instance.
|
private |
DescriptorHeap for dsvs.
|
private |
Whether the Get system has been finalized.
|
private |
The ForwardRenderer that is used to render stuff to the main Window.
|
private |
The FrameStats instance.
|
private |
The GLFWManager instance.
|
private |
The ImGuiManager instance.
|
private |
The main Window instance.
|
private |
The MemoryProfiler instance.
|
private |
The MemoryStats instance.
|
private |
The PerformanceProfiler instance.
|
private |
DescriptorHeap for rtvs.
|
private |
The SceneManager instance.
|
private |
The SwapChain instance.
|
private |
The Time instance.