diff options
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/APIInfo.h | 2 | ||||
| -rw-r--r-- | Graphics/GraphicsEngine/interface/GraphicsTypes.h | 4 |
2 files changed, 5 insertions, 1 deletions
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; |
