Files
Juliet/Juliet/src/Graphics/D3D12/D3D12Includes.h

34 lines
726 B
C

#pragma once
// Might now use it
// // Windows Runtime Library to handle ComPtr
// #include <wrl.h>
// namespace wrl = Microsoft::WRL;
// We will use the C interface of DX12.
// Those define disable the C++ API.
// It also prevents using d3dx12 because it only supports C++ :(
#define COBJMACROS
#define CINTERFACE ;
#include <Graphics/D3D12/AgilitySDK/d3d12.h>
//#include <Graphics/D3D12/AgilitySDK/d3dx12/d3dx12_check_feature_support.h>
#include <dxgi1_6.h>
#ifdef _DEBUG
#include <dxgidebug.h>
#endif
//#include <dxgi.h>
#ifdef __IDXGIInfoQueue_INTERFACE_DEFINED__
#define IDXGIINFOQUEUE_SUPPORTED
#endif
#ifdef __ID3D12InfoQueue1_INTERFACE_DEFINED__
#define ID3D12InfoQueue1_SUPPORTED
#endif
#undef min
#undef max