engine/include/gfx_device.hpp

26 lines
285 B
C++
Raw Normal View History

2022-09-13 18:25:18 +00:00
#pragma once
#include "engine_api.h"
#include "engine.hpp"
2022-09-17 00:22:35 +00:00
#include <SDL_video.h>
#include <memory>
2022-09-13 18:25:18 +00:00
namespace engine::gfx {
struct ENGINE_API Device {
2022-09-17 00:22:35 +00:00
Device(AppInfo appInfo, SDL_Window* window);
2022-09-13 18:25:18 +00:00
~Device();
private:
class Impl;
2022-09-13 21:43:24 +00:00
std::unique_ptr<Impl> pimpl;
2022-09-13 18:25:18 +00:00
};
}