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