wren
Vulkan-based game engine
Loading...
Searching...
No Matches
context.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <memory>
4
5#include "event.hpp"
7#include "input.hpp"
8#include "window.hpp"
9
10namespace wren {
11
12class Renderer;
13
14struct Context {
18
19 std::shared_ptr<GraphicsContext> graphics_context;
20 std::shared_ptr<Renderer> renderer;
21};
22
23} // namespace wren
Definition input.hpp:10
Definition renderer.hpp:17
Definition window.hpp:17
Definition event.hpp:75
Definition editor_scene.hpp:5
Definition context.hpp:14
event::Dispatcher event_dispatcher
Definition context.hpp:16
Window window
Definition context.hpp:15
std::shared_ptr< Renderer > renderer
Definition context.hpp:20
std::shared_ptr< GraphicsContext > graphics_context
Definition context.hpp:19
Input input
Definition context.hpp:17