hyporo-cpp/source/hyporo/gpu/context.hpp
2022-09-24 16:07:46 +05:00

38 lines
373 B
C++

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