From 9ead3562fb06c14098b7885cc7c736ea4bbc292c Mon Sep 17 00:00:00 2001 From: assiduous Date: Fri, 27 Dec 2019 21:13:26 -0800 Subject: Added AdapterType member to DeviceCaps struct (API Version 240048) --- Graphics/GraphicsEngine/interface/APIInfo.h | 2 +- Graphics/GraphicsEngine/interface/DeviceCaps.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 b61f8255..af49cb4c 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 240047 +#define DILIGENT_API_VERSION 240048 #include "../../../Primitives/interface/BasicTypes.h" diff --git a/Graphics/GraphicsEngine/interface/DeviceCaps.h b/Graphics/GraphicsEngine/interface/DeviceCaps.h index 1d26afdd..ebee2167 100644 --- a/Graphics/GraphicsEngine/interface/DeviceCaps.h +++ b/Graphics/GraphicsEngine/interface/DeviceCaps.h @@ -95,6 +95,9 @@ namespace Diligent /// Similar to MajorVersion, this value indicates the maximum supported feature level. Int32 MinorVersion = 0; + /// Adapter type. See Diligent::ADAPTER_TYPE. + ADAPTER_TYPE AdaterType = ADAPTER_TYPE_UNKNOWN; + /// Indicates if device supports separable programs Bool bSeparableProgramSupported = True; -- cgit v1.2.3