From 61cb28a4c3a538f6d43098f045bdc07611652604 Mon Sep 17 00:00:00 2001 From: assiduous Date: Wed, 8 Jan 2020 10:09:08 -0800 Subject: Implemented manual loading of d3d12.dll (closed https://github.com/DiligentGraphics/DiligentCore/issues/113) --- Graphics/GraphicsEngine/interface/APIInfo.h | 2 +- Graphics/GraphicsEngine/interface/GraphicsTypes.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/APIInfo.h b/Graphics/GraphicsEngine/interface/APIInfo.h index 00fb32f7..919894e4 100644 --- a/Graphics/GraphicsEngine/interface/APIInfo.h +++ b/Graphics/GraphicsEngine/interface/APIInfo.h @@ -30,7 +30,7 @@ /// \file /// Diligent API information -#define DILIGENT_API_VERSION 240050 +#define DILIGENT_API_VERSION 240051 #include "../../../Primitives/interface/BasicTypes.h" diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index 5cd1c6b2..988824b0 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -1389,6 +1389,9 @@ namespace Diligent /// Attributes specific to D3D12 engine struct EngineD3D12CreateInfo : public EngineCreateInfo { + /// Name of the D3D12 DLL to load. Ignored on UWP. + const char* D3D12DllName = "d3d12.dll"; + static constexpr Uint32 DefaultAdapterId = 0xFFFFFFFF; /// Id of the hardware adapter the engine should be initialized on. -- cgit v1.2.3