hyporo-cpp/source/hpr/gpu/context.hpp
2022-12-06 23:52:49 +05:00

40 lines
390 B
C++

#pragma once
namespace hpr::gpu
{
class Context
{
public:
enum class DeviceAPI
{
Unknown,
OpenGL,
DeviceAPICount
};
private:
DeviceAPI p_api;
public:
// Constructors
Context();
explicit
Context(DeviceAPI api);
virtual
~Context();
// Member functions
bool checkCompability(const Context* ctx) const;
};
}