hyporo-cpp/source/hyporo/gpu/window_context.hpp

40 lines
401 B
C++

#pragma once
namespace hpr::gpu
{
class WindowContext
{
public:
enum class Provider
{
Unknown,
GLFW
};
private:
Provider p_provider;
public:
inline
WindowContext() :
p_provider {Provider::Unknown}
{}
inline
WindowContext(Provider provider) :
p_provider {provider}
{}
virtual
~WindowContext() = default;
};
}