파일 분리, 셰이더 로드까지 수강.

This commit is contained in:
2025-04-09 04:26:32 +09:00
parent f5ba3795f0
commit 5787efbc15
19 changed files with 766 additions and 192 deletions

View File

@@ -22,6 +22,12 @@ glm::ivec2 Window::GetWindowSize() const {
return window_size;
}
glm::ivec2 Window::GetFramebufferSize() const {
glm::ivec2 size;
glfwGetFramebufferSize(window_, &size.x, &size.y);
return size;
}
bool Window::ShouldClose() const { return glfwWindowShouldClose(window_); }
GLFWwindow* Window::GetHandle() const { return window_; }