diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-03-17 02:17:19 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-03-17 02:17:19 +0000 |
| commit | 632b9844c97e14854d52f5595b9c05c8e115a3a5 (patch) | |
| tree | 0bc49a8add7ad8ff4021e382fede46983aebd2ba /Graphics/GraphicsEngine | |
| parent | Updated cmake scripts with Vulkan defines (diff) | |
| download | DiligentCore-632b9844c97e14854d52f5595b9c05c8e115a3a5.tar.gz DiligentCore-632b9844c97e14854d52f5595b9c05c8e115a3a5.zip | |
Implemented Vulkan instance initialization; added vulkan debug utils
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/GraphicsTypes.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 |
