Added support for multiple devices.
[wine.git] / dlls / wined3d / wined3d_private.h
blob8d9f3f17f483c0ba45bb3b6af00ec75737cfd82d
1 /*
2 * Direct3D wine internal private include file
4 * Copyright 2002-2003 The wine-d3d team
5 * Copyright 2002-2003 Raphael Junqueira
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #ifndef __WINE_WINED3D_PRIVATE_H
23 #define __WINE_WINED3D_PRIVATE_H
25 #include <stdarg.h>
27 #include "windef.h"
28 #include "winbase.h"
29 #include "wingdi.h"
30 #include "winuser.h"
31 #include "wine/debug.h"
33 #include "d3d8.h"
34 #include "d3d8types.h"
35 #include "wine/wined3d_interface.h"
38 /*****************************************************************************
39 * IDirect3DVertexShaderDeclaration implementation structure
41 struct IDirect3DVertexShaderDeclarationImpl {
42 /* The device */
43 /*IDirect3DDeviceImpl* device;*/
45 /** precomputed fvf if simple declaration */
46 DWORD fvf[MAX_STREAMS];
47 DWORD allFVF;
49 /** dx8 compatible Declaration fields */
50 DWORD* pDeclaration8;
51 DWORD declaration8Length;
55 /*****************************************************************************
56 * IDirect3DVertexShader implementation structure
58 struct IDirect3DVertexShaderImpl {
59 /* The device */
60 /*IDirect3DDeviceImpl* device;*/
62 DWORD* function;
63 UINT functionLength;
64 DWORD usage;
65 DWORD version;
66 /* run time datas */
67 VSHADERDATA* data;
68 VSHADERINPUTDATA input;
69 VSHADEROUTPUTDATA output;
73 /*****************************************************************************
74 * IDirect3DPixelShader implementation structure
76 struct IDirect3DPixelShaderImpl {
77 /* The device */
78 /*IDirect3DDeviceImpl* device;*/
80 DWORD* function;
81 UINT functionLength;
82 DWORD version;
83 /* run time datas */
84 PSHADERDATA* data;
85 PSHADERINPUTDATA input;
86 PSHADEROUTPUTDATA output;
89 #endif