PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
graphics_renderer_binding_internal.h
1#pragma once
2
3#include "pixelbullet/graphics/gpu_diagnostics.h"
4#include "pixelbullet/graphics/gpu_session.h"
5#include "pixelbullet/graphics/graphics.h"
6#include "pixelbullet/graphics/render_device.h"
7#include "pixelbullet/graphics/render_target.h"
8
9#include <memory>
10#include <optional>
11#include <string_view>
12
13namespace pixelbullet
14{
15class Renderer;
16
18{
19public:
20 static const RenderDevice& GetRenderDevice(const Graphics& graphics) noexcept;
21 static RenderDevice& GetRenderDevice(Graphics& graphics) noexcept;
22 static std::optional<RenderTargetView> GetRenderTarget(const Graphics& graphics, std::string_view name);
23 static const GraphicsDeviceSelectionSession& GetGraphicsDeviceSelectionSession(const Graphics& graphics) noexcept;
24 static GraphicsApplicationInfo GetGraphicsApplicationInfo(const Graphics& graphics);
25 static GraphicsDeviceProperties GetActiveGraphicsDeviceProperties(const Graphics& graphics);
26 static void SetGraphicsDeviceSelectionSession(Graphics& graphics, const GraphicsDeviceSelectionSession& session);
27 static void InstallRenderer(Graphics& graphics, std::unique_ptr<Renderer>&& renderer);
28 static void ClearRenderer(Graphics& graphics);
29};
30} // namespace pixelbullet
Definition graphics_renderer_binding_internal.h:18
Host-facing graphics subsystem shell.
Definition graphics.h:21
Definition render_device.h:15
Definition renderer.h:17
Definition graphics_config.h:11
Definition gpu_diagnostics.h:24