PixelBullet
0.0.1
A C++ game engine
Loading...
Searching...
No Matches
engine
src
graphics
graphics_frame_runtime_internal.h
1
#pragma once
2
3
#include "pixelbullet/graphics/graphics.h"
4
5
#include <cstddef>
6
7
namespace
pixelbullet
8
{
9
class
GraphicsFrameRuntimeAccess
10
{
11
public
:
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
pixelbullet::GraphicsFrameRuntimeAccess
Definition
graphics_frame_runtime_internal.h:10
pixelbullet::Graphics
Host-facing graphics subsystem shell.
Definition
graphics.h:21
Generated by
1.16.1