vulkan instance 까지 생성 완료
This commit is contained in:
21
include/glfw/glfw_window.h
Normal file
21
include/glfw/glfw_window.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
struct GLFWmonitor;
|
||||
struct GLFWwindow;
|
||||
|
||||
namespace veng {
|
||||
class Window {
|
||||
public:
|
||||
Window(gsl::czstring name, glm::ivec2 size);
|
||||
~Window();
|
||||
|
||||
glm::ivec2 GetWindowSize() const;
|
||||
bool ShouldClose() const;
|
||||
GLFWwindow* GetHandle() const;
|
||||
|
||||
bool TryMoveToMonitor(std::uint16_t monitor_number);
|
||||
|
||||
private:
|
||||
GLFWwindow* window_;
|
||||
};
|
||||
} // namespace veng
|
||||
Reference in New Issue
Block a user