7 VkSurfaceKHR Engine::VulkanWindow::CreateSurface(VkInstance instance)
9 glfwCreateWindowSurface(instance, window.get(),
nullptr, &surface);
13 Engine::VulkanWindow::VulkanWindow(
int width,
int height,
const char* title) noexcept : surface(0)
16 glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);
17 windowReference = eastl::shared_ptr<Window>(
new Window(width, height, title));
19 window = windowReference->GetGLFWWindow().lock();
20 this->width = windowReference->GetWidth();
21 this->height = windowReference->GetHeight();
22 this->title = windowReference->GetTitle();