[DXSDK]
[reactos.git] / include / dxsdk / d3dx9shape.h
1 #include "d3dx9.h"
2
3 #ifndef __D3DX9SHAPES_H__
4 #define __D3DX9SHAPES_H__
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 HRESULT WINAPI
11 D3DXCreateBox(
12 LPDIRECT3DDEVICE9 pDevice,
13 FLOAT Width,
14 FLOAT Height,
15 FLOAT Depth,
16 LPD3DXMESH* ppMesh,
17 LPD3DXBUFFER* ppAdjacency);
18
19 HRESULT WINAPI
20 D3DXCreateCylinder(
21 LPDIRECT3DDEVICE9 pDevice,
22 FLOAT Radius1,
23 FLOAT Radius2,
24 FLOAT Length,
25 UINT Slices,
26 UINT Stacks,
27 LPD3DXMESH* ppMesh,
28 LPD3DXBUFFER* ppAdjacency);
29
30 HRESULT WINAPI
31 D3DXCreatePolygon(
32 LPDIRECT3DDEVICE9 pDevice,
33 FLOAT Length,
34 UINT Sides,
35 LPD3DXMESH* ppMesh,
36 LPD3DXBUFFER* ppAdjacency);
37
38 HRESULT WINAPI
39 D3DXCreateSphere(
40 LPDIRECT3DDEVICE9 pDevice,
41 FLOAT Radius,
42 UINT Slices,
43 UINT Stacks,
44 LPD3DXMESH* ppMesh,
45 LPD3DXBUFFER* ppAdjacency);
46
47 HRESULT WINAPI
48 D3DXCreateTeapot(
49 LPDIRECT3DDEVICE9 pDevice,
50 LPD3DXMESH* ppMesh,
51 LPD3DXBUFFER* ppAdjacency);
52
53 HRESULT WINAPI
54 D3DXCreateTextA(
55 LPDIRECT3DDEVICE9 pDevice,
56 HDC hDC,
57 LPCSTR pText,
58 FLOAT Deviation,
59 FLOAT Extrusion,
60 LPD3DXMESH* ppMesh,
61 LPD3DXBUFFER* ppAdjacency,
62 LPGLYPHMETRICSFLOAT pGlyphMetrics);
63
64 HRESULT WINAPI
65 D3DXCreateTextW(
66 LPDIRECT3DDEVICE9 pDevice,
67 HDC hDC,
68 LPCWSTR pText,
69 FLOAT Deviation,
70 FLOAT Extrusion,
71 LPD3DXMESH* ppMesh,
72 LPD3DXBUFFER* ppAdjacency,
73 LPGLYPHMETRICSFLOAT pGlyphMetrics);
74
75 HRESULT WINAPI
76 D3DXCreateTorus(
77 LPDIRECT3DDEVICE9 pDevice,
78 FLOAT InnerRadius,
79 FLOAT OuterRadius,
80 UINT Sides,
81 UINT Rings,
82 LPD3DXMESH* ppMesh,
83 LPD3DXBUFFER* ppAdjacency);
84
85 #ifdef UNICODE
86 #define D3DXCreateText D3DXCreateTextW
87 #else
88 #define D3DXCreateText D3DXCreateTextA
89 #endif
90
91 #ifdef __cplusplus
92 }
93 #endif
94
95 #endif