From b360883a60ddbb169a9184428966db82b6dd96e9 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 8 Nov 2019 17:56:44 -0800 Subject: Added APIVersion member to EngineCreateInfo struct (API Version 240040) --- Graphics/GraphicsEngine/interface/APIInfo.h | 2 +- Graphics/GraphicsEngine/interface/GraphicsTypes.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/APIInfo.h b/Graphics/GraphicsEngine/interface/APIInfo.h index 70de6f5a..b59997de 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 240039 +#define DILIGENT_API_VERSION 240040 #include "../../../Primitives/interface/BasicTypes.h" diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index 7d75f8a1..3ad73227 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -29,6 +29,7 @@ #include "../../../Primitives/interface/BasicTypes.h" #include "../../../Primitives/interface/DebugOutput.h" #include "../../../Primitives/interface/FlagEnum.h" +#include "APIInfo.h" /// Graphics engine namespace namespace Diligent @@ -1272,6 +1273,9 @@ namespace Diligent /// Engine creation attibutes struct EngineCreateInfo { + /// API version number. + Int32 APIVersion = DILIGENT_API_VERSION; + /// Pointer to the raw memory allocator that will be used for all memory allocation/deallocation /// operations in the engine class IMemoryAllocator* pRawMemAllocator = nullptr; -- cgit v1.2.3