RetroArch
gfx
include
d3d9
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
{
60
D3DXERR_CANNOTMODIFYINDEXBUFFER
=
MAKE_DDHRESULT
(2900),
61
D3DXERR_INVALIDMESH
=
MAKE_DDHRESULT
(2901),
62
D3DXERR_CANNOTATTRSORT
=
MAKE_DDHRESULT
(2902),
63
D3DXERR_SKINNINGNOTSUPPORTED
=
MAKE_DDHRESULT
(2903),
64
D3DXERR_TOOMANYINFLUENCES
=
MAKE_DDHRESULT
(2904),
65
D3DXERR_INVALIDDATA
=
MAKE_DDHRESULT
(2905),
66
D3DXERR_LOADEDMESHASNODATA
=
MAKE_DDHRESULT
(2906),
67
D3DXERR_DUPLICATENAMEDFRAGMENT
=
MAKE_DDHRESULT
(2907),
68
D3DXERR_CANNOTREMOVELASTITEM
=
MAKE_DDHRESULT
(2908)
69
};
70
71
72
#endif
/*__D3DX9_H__ */
d3d9.h
D3DXERR_SKINNINGNOTSUPPORTED
Definition:
d3dx9.h:63
d3dx9shader.h
D3DXERR_CANNOTMODIFYINDEXBUFFER
Definition:
d3dx9.h:60
D3DXERR_CANNOTREMOVELASTITEM
Definition:
d3dx9.h:68
D3DXERR_LOADEDMESHASNODATA
Definition:
d3dx9.h:66
D3DXERR_TOOMANYINFLUENCES
Definition:
d3dx9.h:64
d3dx9shape.h
d3dx9math.h
MAKE_DDHRESULT
#define MAKE_DDHRESULT(code)
Definition:
d3dx9.h:57
d3dx9tex.h
D3DXERR_INVALIDMESH
Definition:
d3dx9.h:61
d3dx9anim.h
d3dx9xof.h
d3dx9mesh.h
D3DXERR_CANNOTATTRSORT
Definition:
d3dx9.h:62
d3dx9effect.h
d3dx9core.h
D3DXERR_DUPLICATENAMEDFRAGMENT
Definition:
d3dx9.h:67
D3DXERR_INVALIDDATA
Definition:
d3dx9.h:65
_D3DXERR
_D3DXERR
Definition:
d3dx8mesh.h:708
Generated by
1.8.15