diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-09-26 15:05:03 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-09-26 15:05:03 +0000 |
| commit | 8f27b8a0351b4c1403a79155bb0c37055263d779 (patch) | |
| tree | 21298b806e5d30c5446e4ba7026062a4a8e5d553 /Graphics/GraphicsEngine | |
| parent | GL backend: fixed issue with random glBindBuffer() calls messing up currently... (diff) | |
| download | DiligentCore-8f27b8a0351b4c1403a79155bb0c37055263d779.tar.gz DiligentCore-8f27b8a0351b4c1403a79155bb0c37055263d779.zip | |
Added EngineD3D12CreateInfo::EnableDebugLayer (updated API Version to 240030)
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/APIInfo.h | 2 | ||||
| -rw-r--r-- | Graphics/GraphicsEngine/interface/GraphicsTypes.h | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngine/interface/APIInfo.h b/Graphics/GraphicsEngine/interface/APIInfo.h index 7d4ab626..2f02c994 100644 --- a/Graphics/GraphicsEngine/interface/APIInfo.h +++ b/Graphics/GraphicsEngine/interface/APIInfo.h @@ -26,7 +26,7 @@ /// \file /// Diligent API information -#define DILIGENT_API_VERSION 240029 +#define DILIGENT_API_VERSION 240030 #include "../../../Primitives/interface/BasicTypes.h" diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index 9904b5c0..fb5332b3 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -1351,6 +1351,9 @@ namespace Diligent /// Id of the hardware adapter the engine should be initialized on Uint32 AdapterId = DefaultAdapterId; + /// Enable Direct3D12 debug layer. + bool EnableDebugLayer = false; + /// Size of the CPU descriptor heap allocations for different heap types. Uint32 CPUDescriptorHeapAllocationSize[4] = { @@ -1403,7 +1406,7 @@ namespace Diligent /// Attributes specific to Vulkan engine struct EngineVkCreateInfo : public EngineCreateInfo { - /// Enable validation layers. Validation is always enabled in Debug mode + /// Enable Vulkan validation layers. bool EnableValidation = false; /// Number of global Vulkan extensions |
