TheAtlasEngine
 
Loading...
Searching...
No Matches
graphics_context.hpp
1#pragma once
2#include <core/core.hpp>
3
4namespace atlas {
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};
graphics API-agnostic that is centralized to the graphics API themselves
Definition graphics_context.hpp:9
void destroy()
explicit cleanup of the graphics API context
Definition graphics_context.hpp:16