xref: /reactos/dll/directx/d3d9/d3d9_mipmap.h (revision 40462c92)
1 /*
2  * COPYRIGHT:       See COPYING in the top level directory
3  * PROJECT:         ReactOS ReactX
4  * FILE:            dll/directx/d3d9/d3d9_mipmap.h
5  * PURPOSE:         d3d9.dll internal mip map surface structures
6  * PROGRAMERS:      Gregor Gullwi <gbrunmar (dot) ros (at) gmail (dot) com>
7  */
8 #ifndef _D3D9_MIPMAP_H_
9 #define _D3D9_MIPMAP_H_
10 
11 #include "d3d9_texture.h"
12 
13 struct _Direct3DDevice9_INT;
14 
15 typedef struct _D3D9MipMap
16 {
17 /* 0x0000 */    Direct3DBaseTexture9_INT BaseTexture;
18 /* 0x0060 */    struct IDirect3DTexture9Vtbl* lpVtbl;
19 /* 0x0064 */    LPDWORD dwUnknown64;
20 /* 0x0068 */    D3DFORMAT Format;
21 /* 0x006c */    DWORD dwUnknown6c;
22 /* 0x0070 */    DWORD Usage;
23 /* 0x0074 */    DWORD dwUnknown74;
24 /* 0x0078 */    DWORD dwUnknown78;
25 /* 0x007c */    DWORD dwUnknown7c;
26 /* 0x0080 */    DWORD dwWidth;
27 /* 0x0084 */    DWORD dwHeight;
28 /* 0x0088 */    DWORD dwUnknown88;
29 /* 0x008c */    DWORD dwUnknown8c;
30 /* 0x0090 */    DWORD dwUnknown90;
31 /* 0x0094 */    DWORD dwUnknown94;
32 /* 0x0098 */    DWORD dwUnknown98;
33 /* 0x009c */    DWORD dwUnknown9c;
34 /* 0x00a0 */    DWORD dwUnknowna0;
35 /* 0x00a4 */    DWORD dwUnknowna4;
36 /* 0x00a8 */    DWORD dwUnknowna8;
37 /* 0x00ac */    DWORD dwUnknownac;
38 /* 0x00b0 */    DWORD dwUnknownb0;
39 /* 0x00b4 */    DWORD dwUnknownb4;
40 /* 0x00b8 */    DWORD dwUnknownb8;
41 /* 0x00bc */    DWORD dwUnknownbc;
42 /* 0x00c0 */    DWORD dwUnknownc0;
43 /* 0x00c4 */    DWORD dwUnknownc4;
44 /* 0x00c8 */    DWORD dwUnknownc8;
45 /* 0x00cc */    DWORD dwUnknowncc;
46 /* 0x00d0 */    DWORD dwUnknownd0;
47 /* 0x00d4 */    DWORD dwUnknownd4;
48 /* 0x00d8 */    DWORD dwUnknownd8;
49 /* 0x00dc */    DWORD dwUnknowndc;
50 /* 0x00e0 */    DWORD dwUnknowne0;
51 /* 0x00e4 */    DWORD dwUnknowne4;
52 /* 0x00e8 */    DWORD dwUnknowne8;
53 /* 0x00ec */    DWORD dwUnknownec;
54 /* 0x00f0 */    DWORD dwUnknownf0;
55 /* 0x00f4 */    DWORD dwUnknownf4;
56 } D3D9MipMap, FAR* LPD3D9MIPMAP;
57 
58 HRESULT CreateD3D9MipMap(struct _Direct3DDevice9_INT* pDevice, UINT Width, UINT Height, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DTexture9** ppTexture);
59 
60 #endif // _D3D9_MIPMAP_H_
61