RetroArch
d3dx11.h
Go to the documentation of this file.
1 //
3 // Copyright (C) Microsoft Corporation. All Rights Reserved.
4 //
5 // File: d3dx11.h
6 // Content: D3DX11 utility library
7 //
9 
10 #ifdef __D3DX11_INTERNAL__
11 #error Incorrect D3DX11 header used
12 #endif
13 
14 #ifndef __D3DX11_H__
15 #define __D3DX11_H__
16 
17 
18 // Defines
19 #include <limits.h>
20 #include <float.h>
21 
22 #ifdef ALLOW_THROWING_NEW
23 #include <new>
24 #endif
25 
26 #define D3DX11_DEFAULT ((UINT) -1)
27 #define D3DX11_FROM_FILE ((UINT) -3)
28 #define DXGI_FORMAT_FROM_FILE ((DXGI_FORMAT) -3)
29 
30 #ifndef D3DX11INLINE
31 #ifdef _MSC_VER
32  #if (_MSC_VER >= 1200)
33  #define D3DX11INLINE __forceinline
34  #else
35  #define D3DX11INLINE __inline
36  #endif
37 #else
38  #ifdef __cplusplus
39  #define D3DX11INLINE inline
40  #else
41  #define D3DX11INLINE
42  #endif
43 #endif
44 #endif
45 
46 
47 
48 // Includes
49 #include "d3d11.h"
50 #include "d3dx11.h"
51 #include "d3dx11core.h"
52 #include "d3dx11tex.h"
53 #include "d3dx11async.h"
54 
55 
56 // Errors
57 #define _FACDD 0x876
58 #define MAKE_DDHRESULT( code ) MAKE_HRESULT( 1, _FACDD, code )
59 
70 };
71 
72 
73 #endif //__D3DX11_H__
74 
Definition: d3dx11.h:69
_D3DX11_ERR
Definition: d3dx11.h:60
Definition: d3dx11.h:67
Definition: d3dx11.h:62
Definition: d3dx11.h:63
Definition: d3dx11.h:65
#define MAKE_DDHRESULT(code)
Definition: d3dx11.h:58
Definition: d3dx11.h:64
Definition: d3dx11.h:66