ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

d3d9_basetexture.h
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:       See COPYING in the top level directory
00003  * PROJECT:         ReactOS ReactX
00004  * FILE:            dll/directx/d3d9/d3d9_basetexture.h
00005  * PURPOSE:         Work-around for gcc warning, DO NOT USE FOR ANYTHING ELSE!!!
00006  * PROGRAMERS:      Gregor Gullwi <gbrunmar (dot) ros (at) gmail (dot) com>
00007  */
00008 #ifndef _D3D9_BASETEXTURE_H_
00009 #define _D3D9_BASETEXTURE_H_
00010 
00011 #include "d3d9_resource.h"
00012 
00013 // Work-around for:
00014 // "warning: 'FilterType' is narrower than values of its type"
00015 #if __GNUC__ >=3
00016     #pragma GCC system_header
00017 #endif
00018 
00019 struct IDirect3DBaseTexture9Vtbl;
00020 
00021 #pragma pack(push)
00022 #pragma pack(1)
00023 typedef struct _Direct3DBaseTexture9_INT
00024 {
00025 /* 0x0000 */    IDirect3DBaseTexture9Vtbl* lpVtbl;
00026 /* 0x0004 */    DWORD dwUnknown04;
00027 /* 0x0008 */    Direct3DResource9_INT BaseResource;
00028 /* 0x004c */    DWORD dwUnknown4c;
00029 /* 0x0050 */    D3DFORMAT Format;
00030 /* 0x0054 */    DWORD Usage;
00031 /* 0x0058 */    WORD MipMapLevels;
00032                 union {
00033 /* 0x005a */        D3DTEXTUREFILTERTYPE FilterType : 8;
00034                     struct
00035                     {
00036 /* 0x005a */            DWORD dwFilterType      : 8;
00037 /* 0x005b */            BOOL  bIsAutoGenMipMap  : 8;
00038 /* 0x005c */            DWORD MipMapLevels2     : 8;
00039 /* 0x005d */            DWORD MaxLOD            : 8;
00040                     };
00041                 };
00042 /* 0x005e */    WORD wPaletteIndex;
00043 } Direct3DBaseTexture9_INT;
00044 #pragma pack(pop)
00045 
00046 #endif

Generated on Fri May 25 2012 04:19:10 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.