Zen
0.3.0
Loading...
Searching...
No Matches
ZEN_GraphicsContext.h
1
#pragma once
2
3
#include <zen/zen_pch.h>
4
5
namespace
Zen {
6
class
GraphicsContext
{
7
public
:
8
virtual
~GraphicsContext
() =
default
;
9
10
virtual
void
init() = 0;
11
virtual
void
swapBuffers() = 0;
12
virtual
void
shutdown() = 0;
13
virtual
void
*nativeContext()
const
= 0;
14
15
static
std::unique_ptr<GraphicsContext> Create(SDL_Window *window);
16
17
private
:
18
};
19
};
// namespace Zen
Zen::GraphicsContext
Definition
ZEN_GraphicsContext.h:6
engine
zen
renderer
ZEN_GraphicsContext.h
Generated by
1.14.0