![]() |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
#include "components/rendering/rendering.h"
#include <wrl/client.h>
#include <thread>
#include <dwrite.h>
#include <Strings/components/utils/converters/converters.h>
#include <Strings/components/utils/saferelease/saferelease.h>
#include "dw_font_loader/FontLoader.h"
#include "components/resources/debug_menu/debug_menu.h"
#include "components/settings/config/config.h"
#include "components/diagnostics/logger/logger.h"
#include "components/diagnostics/errors/errors.h"
#include "components/core/utils/utilities.h"
#include "components/core/utils/color/color.h"
#include "components/3rdparty/imgui/formats/dx11/imgui_impl_dx11.h"
#include "components/rendering/directx11/render_stack/render_stack.h"
#include "components/resources/engine_globals/globals.h"
#include "components/diagnostics/crash/crash.h"
#include "components/ui/imgui/debug_colors.h"
#include "components/resources/engine_definitions/engine_definitions.h"
#include "core.h"
Functions | |
HRESULT | CreateRenderTarget () |
Creates the render targets for Direct2D and Direct3D. More... | |
HRESULT | CreateD2DTarget () |
Creates the Direct2D render target. Should only ever be called in CreateRenderTarget() More... | |
HRESULT | SetupDirect2D (HWND hwnd) |
HRESULT | SetupDXGI (HWND hWnd) |
Initialize DXGI. More... | |
void | ReleaseRenderTarget () |
Release the DirectX render target. More... | |
HRESULT | HandleWindowResizeMain () |
Main function to handle window resize events. Should only be called by BlamRendering::DirectX::HandleWindowReisze() More... | |
Variables | |
HRESULT | screenshot_hr |
The result of the screenshot capture attempt. Should be removed. More... | |
bool | crash_screen = false |
Whether or not to show the crash screen. More... | |
bool | ready_to_submit_report = false |
Whether or not the crash screen has been displayed. More... | |
bool | crash_report_started = false |
Whether or not the process to submit data to Sentry has been started. More... | |
std::string | crash_message = "no additional info supplied" |
The message to display on the crash screen. More... | |
ImVec4 | clear_col = ImColor(114, 144, 154) |
The color to use for render target clearing. More... | |
HRESULT CreateD2DTarget | ( | ) |
Creates the Direct2D render target. Should only ever be called in CreateRenderTarget()
HRESULT CreateRenderTarget | ( | ) |
Creates the render targets for Direct2D and Direct3D.
HRESULT HandleWindowResizeMain | ( | ) |
Main function to handle window resize events. Should only be called by BlamRendering::DirectX::HandleWindowReisze()
void ReleaseRenderTarget | ( | ) |
Release the DirectX render target.
HRESULT SetupDirect2D | ( | HWND | hwnd | ) |
HRESULT SetupDXGI | ( | HWND | hWnd | ) |
Initialize DXGI.
ImVec4 clear_col = ImColor(114, 144, 154) |
The color to use for render target clearing.
std::string crash_message = "no additional info supplied" |
The message to display on the crash screen.
bool crash_report_started = false |
Whether or not the process to submit data to Sentry has been started.
bool crash_screen = false |
Whether or not to show the crash screen.
bool ready_to_submit_report = false |
Whether or not the crash screen has been displayed.
HRESULT screenshot_hr |
The result of the screenshot capture attempt. Should be removed.