validation 추가
This commit is contained in:
@@ -9,15 +9,20 @@ class Graphics final {
|
||||
Graphics(gsl::not_null<Window *> window);
|
||||
~Graphics();
|
||||
|
||||
private:
|
||||
void InitializeVulkan();
|
||||
void CreateInstance();
|
||||
|
||||
static gsl::span<gsl::czstring> GetSuggestedExtentions();
|
||||
std::vector<gsl::czstring> GetRequiredInstanceExtentions();
|
||||
|
||||
static gsl::span<gsl::czstring> GetSuggestedInstanceExtentions();
|
||||
static std::vector<VkExtensionProperties> GetSupprotedInstanceExtensions();
|
||||
static bool AreAllExtensionsSupported(gsl::span<gsl::czstring> extensions);
|
||||
|
||||
static std::vector<VkLayerProperties> GetSupprotedValidationLayers();
|
||||
static bool AreAllLayersSupported(gsl::span<gsl::czstring> extensions);
|
||||
|
||||
VkInstance instance_ = nullptr;
|
||||
gsl::not_null<Window *> window_;
|
||||
bool validation_enabled_ = false;
|
||||
};
|
||||
} // namespace veng
|
||||
|
||||
Reference in New Issue
Block a user