로깅과 vulkan validation layer 설정 끝
This commit is contained in:
@@ -10,3 +10,4 @@
|
||||
#include <string_view>
|
||||
|
||||
#include "utilities.h"
|
||||
#include "spdlog/spdlog.h"
|
||||
|
||||
@@ -11,6 +11,7 @@ class Graphics final {
|
||||
|
||||
void InitializeVulkan();
|
||||
void CreateInstance();
|
||||
void SetupDebugMessenger();
|
||||
|
||||
std::vector<gsl::czstring> GetRequiredInstanceExtentions();
|
||||
|
||||
@@ -22,6 +23,7 @@ class Graphics final {
|
||||
static bool AreAllLayersSupported(gsl::span<gsl::czstring> extensions);
|
||||
|
||||
VkInstance instance_ = nullptr;
|
||||
VkDebugUtilsMessengerEXT debug_messenger_;
|
||||
gsl::not_null<Window *> window_;
|
||||
bool validation_enabled_ = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user