ReactOS
0.4.16-dev-117-g38f21f9
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
19
struct
IDirect3DBaseTexture9Vtbl;
20
21
#pragma pack(push)
22
#pragma pack(1)
23
typedef
struct
_Direct3DBaseTexture9_INT
24
{
25
/* 0x0000 */
IDirect3DBaseTexture9Vtbl*
lpVtbl
;
26
/* 0x0004 */
DWORD
dwUnknown04
;
27
/* 0x0008 */
Direct3DResource9_INT
BaseResource
;
28
/* 0x004c */
DWORD
dwUnknown4c
;
29
/* 0x0050 */
D3DFORMAT
Format
;
30
/* 0x0054 */
DWORD
Usage
;
31
/* 0x0058 */
WORD
MipMapLevels
;
32
union
{
33
/* 0x005a */
D3DTEXTUREFILTERTYPE
FilterType
: 8;
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
;
43
}
Direct3DBaseTexture9_INT
;
44
#pragma pack(pop)
45
46
#endif
D3DFORMAT
enum _D3DFORMAT D3DFORMAT
D3DTEXTUREFILTERTYPE
enum _D3DTEXTUREFILTERTYPE D3DTEXTUREFILTERTYPE
Direct3DBaseTexture9_INT
struct _Direct3DBaseTexture9_INT Direct3DBaseTexture9_INT
d3d9_resource.h
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
WORD
unsigned short WORD
Definition:
ntddk_ex.h:93
_Direct3DBaseTexture9_INT
Definition:
d3d9_basetexture.h:24
_Direct3DBaseTexture9_INT::MaxLOD
DWORD MaxLOD
Definition:
d3d9_basetexture.h:39
_Direct3DBaseTexture9_INT::bIsAutoGenMipMap
BOOL bIsAutoGenMipMap
Definition:
d3d9_basetexture.h:37
_Direct3DBaseTexture9_INT::BaseResource
Direct3DResource9_INT BaseResource
Definition:
d3d9_basetexture.h:27
_Direct3DBaseTexture9_INT::Usage
DWORD Usage
Definition:
d3d9_basetexture.h:30
_Direct3DBaseTexture9_INT::dwFilterType
DWORD dwFilterType
Definition:
d3d9_basetexture.h:36
_Direct3DBaseTexture9_INT::MipMapLevels2
DWORD MipMapLevels2
Definition:
d3d9_basetexture.h:38
_Direct3DBaseTexture9_INT::Format
D3DFORMAT Format
Definition:
d3d9_basetexture.h:29
_Direct3DBaseTexture9_INT::lpVtbl
IDirect3DBaseTexture9Vtbl * lpVtbl
Definition:
d3d9_basetexture.h:25
_Direct3DBaseTexture9_INT::FilterType
D3DTEXTUREFILTERTYPE FilterType
Definition:
d3d9_basetexture.h:33
_Direct3DBaseTexture9_INT::wPaletteIndex
WORD wPaletteIndex
Definition:
d3d9_basetexture.h:42
_Direct3DBaseTexture9_INT::dwUnknown4c
DWORD dwUnknown4c
Definition:
d3d9_basetexture.h:28
_Direct3DBaseTexture9_INT::dwUnknown04
DWORD dwUnknown04
Definition:
d3d9_basetexture.h:26
_Direct3DBaseTexture9_INT::MipMapLevels
WORD MipMapLevels
Definition:
d3d9_basetexture.h:31
_Direct3DResource9_INT
Definition:
d3d9_resource.h:14
dll
directx
d3d9
d3d9_basetexture.h
Generated on Fri Oct 11 2024 06:02:56 for ReactOS by
1.9.6