RetroArch
gfx
include
dxsdk
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
60
enum
_D3DX11_ERR
{
61
D3DX11_ERR_CANNOT_MODIFY_INDEX_BUFFER
=
MAKE_DDHRESULT
(2900),
62
D3DX11_ERR_INVALID_MESH
=
MAKE_DDHRESULT
(2901),
63
D3DX11_ERR_CANNOT_ATTR_SORT
=
MAKE_DDHRESULT
(2902),
64
D3DX11_ERR_SKINNING_NOT_SUPPORTED
=
MAKE_DDHRESULT
(2903),
65
D3DX11_ERR_TOO_MANY_INFLUENCES
=
MAKE_DDHRESULT
(2904),
66
D3DX11_ERR_INVALID_DATA
=
MAKE_DDHRESULT
(2905),
67
D3DX11_ERR_LOADED_MESH_HAS_NO_DATA
=
MAKE_DDHRESULT
(2906),
68
D3DX11_ERR_DUPLICATE_NAMED_FRAGMENT
=
MAKE_DDHRESULT
(2907),
69
D3DX11_ERR_CANNOT_REMOVE_LAST_ITEM
=
MAKE_DDHRESULT
(2908),
70
};
71
72
73
#endif //__D3DX11_H__
74
D3DX11_ERR_CANNOT_REMOVE_LAST_ITEM
Definition:
d3dx11.h:69
_D3DX11_ERR
_D3DX11_ERR
Definition:
d3dx11.h:60
d3dx11async.h
D3DX11_ERR_LOADED_MESH_HAS_NO_DATA
Definition:
d3dx11.h:67
d3dx11core.h
d3dx11tex.h
D3DX11_ERR_INVALID_MESH
Definition:
d3dx11.h:62
D3DX11_ERR_CANNOT_MODIFY_INDEX_BUFFER
Definition:
d3dx11.h:61
d3dx11.h
D3DX11_ERR_CANNOT_ATTR_SORT
Definition:
d3dx11.h:63
D3DX11_ERR_TOO_MANY_INFLUENCES
Definition:
d3dx11.h:65
MAKE_DDHRESULT
#define MAKE_DDHRESULT(code)
Definition:
d3dx11.h:58
D3DX11_ERR_DUPLICATE_NAMED_FRAGMENT
Definition:
d3dx11.h:68
D3DX11_ERR_SKINNING_NOT_SUPPORTED
Definition:
d3dx11.h:64
d3d11.h
float.h
D3DX11_ERR_INVALID_DATA
Definition:
d3dx11.h:66
Generated by
1.8.15