TheAtlasEngine
Loading...
Searching...
No Matches
graphics_context.hpp
1
#pragma once
2
#include <core/core.hpp>
3
4
namespace
atlas {
9
class
graphics_context
{
10
public
:
11
virtual
~graphics_context
() =
default
;
12
16
void
destroy
() {
return
destroy_context(); }
17
18
private
:
19
virtual
void
destroy_context() = 0;
20
};
21
26
ref<graphics_context> initialize_context(
const
std::string& p_tag);
27
28
};
atlas::graphics_context
graphics API-agnostic that is centralized to the graphics API themselves
Definition
graphics_context.hpp:9
atlas::graphics_context::destroy
void destroy()
explicit cleanup of the graphics API context
Definition
graphics_context.hpp:16
TheAtlasEngine
atlas
drivers
graphics_context.hpp
Generated by
1.9.8