ReactOS 0.4.15-dev-6644-g539123c
d3d9_basetexture.h
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS ReactX
4 * FILE: dll/directx/d3d9/d3d9_basetexture.h
5 * PURPOSE: Work-around for gcc warning, DO NOT USE FOR ANYTHING ELSE!!!
6 * PROGRAMERS: Gregor Gullwi <gbrunmar (dot) ros (at) gmail (dot) com>
7 */
8#ifndef _D3D9_BASETEXTURE_H_
9#define _D3D9_BASETEXTURE_H_
10
11#include "d3d9_resource.h"
12
13// Work-around for:
14// "warning: 'FilterType' is narrower than values of its type"
15#if __GNUC__ >=3
16 #pragma GCC system_header
17#endif
18
19struct IDirect3DBaseTexture9Vtbl;
20
21#pragma pack(push)
22#pragma pack(1)
24{
25/* 0x0000 */ IDirect3DBaseTexture9Vtbl* lpVtbl;
26/* 0x0004 */ DWORD dwUnknown04;
28/* 0x004c */ DWORD dwUnknown4c;
29/* 0x0050 */ D3DFORMAT Format;
30/* 0x0054 */ DWORD Usage;
31/* 0x0058 */ WORD MipMapLevels;
32 union {
34 struct
35 {
36/* 0x005a */ DWORD dwFilterType : 8;
37/* 0x005b */ BOOL bIsAutoGenMipMap : 8;
38/* 0x005c */ DWORD MipMapLevels2 : 8;
39/* 0x005d */ DWORD MaxLOD : 8;
40 };
41 };
42/* 0x005e */ WORD wPaletteIndex;
44#pragma pack(pop)
45
46#endif
enum _D3DFORMAT D3DFORMAT
enum _D3DTEXTUREFILTERTYPE D3DTEXTUREFILTERTYPE
struct _Direct3DBaseTexture9_INT Direct3DBaseTexture9_INT
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
Direct3DResource9_INT BaseResource
IDirect3DBaseTexture9Vtbl * lpVtbl
D3DTEXTUREFILTERTYPE FilterType