From 632b9844c97e14854d52f5595b9c05c8e115a3a5 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 16 Mar 2018 19:17:19 -0700 Subject: Implemented Vulkan instance initialization; added vulkan debug utils --- Graphics/GraphicsEngine/interface/GraphicsTypes.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index 85b3e19f..aac116ad 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -1004,7 +1004,17 @@ namespace Diligent /// Attributes specific to Vulkan engine struct EngineVkAttribs : public EngineCreationAttribs { + /// Enable validation layers. Validation is always enabled in Debug mode + bool EnableValidation = false; + + /// Number of global Vulkan extensions + Uint32 GlobalExtensionCount = 0; + + /// List of global Vulkan extensions to enable. + const char* const* ppGlobalExtensionNames = nullptr; + /// Allocator used as pAllocator parameter in callse to Vulkan Create* functions + void *pVkAllocator = nullptr; }; /// Box -- cgit v1.2.3