파일 분리, 셰이더 로드까지 수강.
This commit is contained in:
@@ -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_; }
|
||||
|
||||
Reference in New Issue
Block a user