PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
graphics_frame_runtime_internal.h
1#pragma once
2
3#include "pixelbullet/graphics/graphics.h"
4
5#include <cstddef>
6
7namespace pixelbullet
8{
10{
11public:
12 enum class PrepareFrameOutcome
13 {
14 Skipped,
15 Rebuilt,
16 Ready
17 };
18
19 enum class RenderFrameOutcome
20 {
21 Skipped,
22 Rendered
23 };
24
25 static PrepareFrameOutcome PrepareFrame(Graphics& graphics);
26 static RenderFrameOutcome RenderPreparedFrame(Graphics& graphics);
27 static void SetFramebufferResized(Graphics& graphics, std::size_t id);
28};
29} // namespace pixelbullet
Definition graphics_frame_runtime_internal.h:10
Host-facing graphics subsystem shell.
Definition graphics.h:21