RetroArch
d3dx9.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright (C) Microsoft Corporation. All Rights Reserved.
4  *
5  * File: d3dx9.h
6  * Content: D3DX utility library
7  *
8  */
9 
10 #ifdef __D3DX_INTERNAL__
11 #error Incorrect D3DX header used
12 #endif
13 
14 #ifndef __D3DX9_H__
15 #define __D3DX9_H__
16 
17 /* Defines */
18 #include <limits.h>
19 
20 #define D3DX_DEFAULT ((UINT) -1)
21 #define D3DX_DEFAULT_NONPOW2 ((UINT) -2)
22 #define D3DX_DEFAULT_FLOAT FLT_MAX
23 #define D3DX_FROM_FILE ((UINT) -3)
24 #define D3DFMT_FROM_FILE ((D3DFORMAT) -3)
25 
26 #ifndef D3DXINLINE
27 #ifdef _MSC_VER
28  #if (_MSC_VER >= 1200)
29  #define D3DXINLINE __forceinline
30  #else
31  #define D3DXINLINE __inline
32  #endif
33 #else
34  #ifdef __cplusplus
35  #define D3DXINLINE inline
36  #else
37  #define D3DXINLINE
38  #endif
39 #endif
40 #endif
41 
42 /* Includes */
43 #include "d3d9.h"
44 #include "d3dx9math.h"
45 #include "d3dx9core.h"
46 #include "d3dx9xof.h"
47 #include "d3dx9mesh.h"
48 #include "d3dx9shader.h"
49 #include "d3dx9effect.h"
50 
51 #include "d3dx9tex.h"
52 #include "d3dx9shape.h"
53 #include "d3dx9anim.h"
54 
55 /* Errors */
56 #define _FACDD 0x876
57 #define MAKE_DDHRESULT( code ) MAKE_HRESULT( 1, _FACDD, code )
58 
59 enum _D3DXERR {
69 };
70 
71 
72 #endif /*__D3DX9_H__ */
Definition: d3dx9.h:63
Definition: d3dx9.h:60
Definition: d3dx9.h:68
Definition: d3dx9.h:66
Definition: d3dx9.h:64
#define MAKE_DDHRESULT(code)
Definition: d3dx9.h:57
Definition: d3dx9.h:61
Definition: d3dx9.h:62
Definition: d3dx9.h:67
Definition: d3dx9.h:65
_D3DXERR
Definition: d3dx8mesh.h:708