인스턴스 생성 구조 완료
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
#include <vulkan/vulkan.h>
|
||||
|
||||
#include "glfw/glfw_window.h"
|
||||
|
||||
namespace veng {
|
||||
@@ -12,7 +13,9 @@ class Graphics final {
|
||||
void InitializeVulkan();
|
||||
void CreateInstance();
|
||||
|
||||
gsl::span<gsl::czstring> GetSuggestedExtentions();
|
||||
static gsl::span<gsl::czstring> GetSuggestedExtentions();
|
||||
static std::vector<VkExtensionProperties> GetSupprotedInstanceExtensions();
|
||||
static bool AreAllExtensionsSupported(gsl::span<gsl::czstring> extensions);
|
||||
|
||||
VkInstance instance_ = nullptr;
|
||||
gsl::not_null<Window *> window_;
|
||||
|
||||
Reference in New Issue
Block a user