ReactOS  0.4.14-dev-49-gfb4591c
d3d9types.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _D3DVERTEXELEMENT9
 
struct  _D3DADAPTER_IDENTIFIER9
 
struct  _D3DBOX
 
struct  _D3DCLIPSTATUS9
 
struct  _D3DCOLORVALUE
 
struct  _D3DDEVICE_CREATION_PARAMETERS
 
struct  _D3DDEVINFO_D3D9BANDWIDTHTIMINGS
 
struct  _D3DDEVINFO_D3D9CACHEUTILIZATION
 
struct  _D3DDEVINFO_D3D9INTERFACETIMINGS
 
struct  _D3DDEVINFO_D3D9PIPELINETIMINGS
 
struct  _D3DDEVINFO_D3D9STAGETIMINGS
 
struct  D3DDEVINFO_VCACHE
 
struct  D3DRESOURCESTATS
 
struct  _D3DDEVINFO_D3DRESOURCEMANAGER
 
struct  _D3DDEVINFO_D3DVERTEXSTATS
 
struct  _D3DDISPLAYMODE
 
struct  _D3DGAMMARAMP
 
struct  _D3DINDEXBUFFER_DESC
 
struct  _D3DVECTOR
 
struct  _D3DLIGHT9
 
struct  _D3DLINEPATTERN
 
struct  _D3DLOCKED_BOX
 
struct  _D3DLOCKED_RECT
 
struct  _D3DMATERIAL9
 
struct  _D3DMATRIX
 
struct  _D3DPRESENT_PARAMETERS_
 
struct  _D3DRANGE
 
struct  _D3DRASTER_STATUS
 
struct  _D3DRECT
 
struct  _D3DRECTPATCH_INFO
 
struct  _D3DSURFACE_DESC
 
struct  _D3DTRIPATCH_INFO
 
struct  _D3DVERTEXBUFFER_DESC
 
struct  _D3DVIEWPORT9
 
struct  _D3DVOLUME_DESC
 
struct  D3DDISPLAYMODEFILTER
 
struct  D3DDISPLAYMODEEX
 
struct  _D3DPRESENTSTATS
 

Macros

#define D3DCLEAR_TARGET   0x00000001L
 
#define D3DCLEAR_ZBUFFER   0x00000002L
 
#define D3DCLEAR_STENCIL   0x00000004L
 
#define D3DCLIPPLANE0   (1 << 0)
 
#define D3DCLIPPLANE1   (1 << 1)
 
#define D3DCLIPPLANE2   (1 << 2)
 
#define D3DCLIPPLANE3   (1 << 3)
 
#define D3DCLIPPLANE4   (1 << 4)
 
#define D3DCLIPPLANE5   (1 << 5)
 
#define D3DCOLOR_ARGB(a, r, g, b)   ((D3DCOLOR)((((a)&0xffu)<<24)|(((r)&0xffu)<<16)|(((g)&0xffu)<<8)|((b)&0xffu)))
 
#define D3DCOLOR_COLORVALUE(r, g, b, a)   D3DCOLOR_RGBA((DWORD)((r)*255.f),(DWORD)((g)*255.f),(DWORD)((b)*255.f),(DWORD)((a)*255.f))
 
#define D3DCOLOR_RGBA(r, g, b, a)   D3DCOLOR_ARGB(a,r,g,b)
 
#define D3DCOLOR_XRGB(r, g, b)   D3DCOLOR_ARGB(0xff,r,g,b)
 
#define D3DCOLOR_XYUV(y, u, v)   D3DCOLOR_ARGB(0xFF,y,u,v)
 
#define D3DCOLOR_AYUV(a, y, u, v)   D3DCOLOR_ARGB(a,y,u,v)
 
#define D3DCS_LEFT   0x001L
 
#define D3DCS_RIGHT   0x002L
 
#define D3DCS_TOP   0x004L
 
#define D3DCS_BOTTOM   0x008L
 
#define D3DCS_FRONT   0x010L
 
#define D3DCS_BACK   0x020L
 
#define D3DCS_PLANE0   0x040L
 
#define D3DCS_PLANE1   0x080L
 
#define D3DCS_PLANE2   0x100L
 
#define D3DCS_PLANE3   0x200L
 
#define D3DCS_PLANE4   0x400L
 
#define D3DCS_PLANE5   0x800L
 
#define D3DCS_ALL   0xFFFL
 
#define D3DFVF_TEXTUREFORMAT1   3u
 
#define D3DFVF_TEXTUREFORMAT2   0u
 
#define D3DFVF_TEXTUREFORMAT3   1u
 
#define D3DFVF_TEXTUREFORMAT4   2u
 
#define D3DFVF_TEXCOORDSIZE1(CoordIndex)   (D3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16))
 
#define D3DFVF_TEXCOORDSIZE2(CoordIndex)   (D3DFVF_TEXTUREFORMAT2)
 
#define D3DFVF_TEXCOORDSIZE3(CoordIndex)   (D3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16))
 
#define D3DFVF_TEXCOORDSIZE4(CoordIndex)   (D3DFVF_TEXTUREFORMAT4 << (CoordIndex*2 + 16))
 
#define D3DLOCK_READONLY   0x0010
 
#define D3DLOCK_NOSYSLOCK   0x0800
 
#define D3DLOCK_NOOVERWRITE   0x1000
 
#define D3DLOCK_DISCARD   0x2000
 
#define D3DLOCK_DONOTWAIT   0x4000
 
#define D3DLOCK_NO_DIRTY_UPDATE   0x8000
 
#define D3DMAXUSERCLIPPLANES   32
 
#define D3DCLIPPLANE0   (1 << 0)
 
#define D3DCLIPPLANE1   (1 << 1)
 
#define D3DCLIPPLANE2   (1 << 2)
 
#define D3DCLIPPLANE3   (1 << 3)
 
#define D3DCLIPPLANE4   (1 << 4)
 
#define D3DCLIPPLANE5   (1 << 5)
 
#define D3DRENDERSTATE_WRAPBIAS   128UL
 
#define D3DTSS_TCI_PASSTHRU   0x00000
 
#define D3DTSS_TCI_CAMERASPACENORMAL   0x10000
 
#define D3DTSS_TCI_CAMERASPACEPOSITION   0x20000
 
#define D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR   0x30000
 
#define D3DTSS_TCI_SPHEREMAP   0x40000
 
#define D3DTS_WORLD   D3DTS_WORLDMATRIX(0)
 
#define D3DTS_WORLD1   D3DTS_WORLDMATRIX(1)
 
#define D3DTS_WORLD2   D3DTS_WORLDMATRIX(2)
 
#define D3DTS_WORLD3   D3DTS_WORLDMATRIX(3)
 
#define D3DTS_WORLDMATRIX(index)   (D3DTRANSFORMSTATETYPE)(index + 256)
 
#define D3DUSAGE_RENDERTARGET   0x00000001L
 
#define D3DUSAGE_DEPTHSTENCIL   0x00000002L
 
#define D3DUSAGE_WRITEONLY   0x00000008L
 
#define D3DUSAGE_SOFTWAREPROCESSING   0x00000010L
 
#define D3DUSAGE_DONOTCLIP   0x00000020L
 
#define D3DUSAGE_POINTS   0x00000040L
 
#define D3DUSAGE_RTPATCHES   0x00000080L
 
#define D3DUSAGE_NPATCHES   0x00000100L
 
#define D3DUSAGE_DYNAMIC   0x00000200L
 
#define D3DUSAGE_AUTOGENMIPMAP   0x00000400L
 
#define D3DUSAGE_DMAP   0x00004000L
 
#define D3DUSAGE_QUERY_FILTER   0x00020000L
 
#define D3DUSAGE_QUERY_LEGACYBUMPMAP   0x00008000L
 
#define D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING   0x00080000L
 
#define D3DUSAGE_QUERY_SRGBREAD   0x00010000L
 
#define D3DUSAGE_QUERY_SRGBWRITE   0x00040000L
 
#define D3DUSAGE_QUERY_VERTEXTEXTURE   0x00100000L
 
#define D3DUSAGE_QUERY_WRAPANDMIP   0x00200000L
 
#define D3DWRAP_U   1
 
#define D3DWRAP_V   2
 
#define D3DWRAP_W   4
 
#define D3DWRAPCOORD_0   1
 
#define D3DWRAPCOORD_1   2
 
#define D3DWRAPCOORD_2   4
 
#define D3DWRAPCOORD_3   8
 
#define MAX_DEVICE_IDENTIFIER_STRING   512
 
#define D3DFVF_RESERVED0   0x0001
 
#define D3DFVF_POSITION_MASK   0x400E
 
#define D3DFVF_XYZ   0x0002
 
#define D3DFVF_XYZRHW   0x0004
 
#define D3DFVF_XYZB1   0x0006
 
#define D3DFVF_XYZB2   0x0008
 
#define D3DFVF_XYZB3   0x000a
 
#define D3DFVF_XYZB4   0x000c
 
#define D3DFVF_XYZB5   0x000e
 
#define D3DFVF_XYZW   0x4002
 
#define D3DFVF_NORMAL   0x0010
 
#define D3DFVF_PSIZE   0x0020
 
#define D3DFVF_DIFFUSE   0x0040
 
#define D3DFVF_SPECULAR   0x0080
 
#define D3DFVF_TEXCOUNT_MASK   0x0f00
 
#define D3DFVF_TEXCOUNT_SHIFT   8
 
#define D3DFVF_TEX0   0x0000
 
#define D3DFVF_TEX1   0x0100
 
#define D3DFVF_TEX2   0x0200
 
#define D3DFVF_TEX3   0x0300
 
#define D3DFVF_TEX4   0x0400
 
#define D3DFVF_TEX5   0x0500
 
#define D3DFVF_TEX6   0x0600
 
#define D3DFVF_TEX7   0x0700
 
#define D3DFVF_TEX8   0x0800
 
#define D3DFVF_LASTBETA_UBYTE4   0x1000
 
#define D3DFVF_LASTBETA_D3DCOLOR   0x8000
 
#define D3DFVF_RESERVED2   0x6000
 
#define D3DTA_SELECTMASK   0x0000000f
 
#define D3DTA_DIFFUSE   0x00000000
 
#define D3DTA_CURRENT   0x00000001
 
#define D3DTA_TEXTURE   0x00000002
 
#define D3DTA_TFACTOR   0x00000003
 
#define D3DTA_SPECULAR   0x00000004
 
#define D3DTA_TEMP   0x00000005
 
#define D3DTA_CONSTANT   0x00000006
 
#define D3DTA_COMPLEMENT   0x00000010
 
#define D3DTA_ALPHAREPLICATE   0x00000020
 
#define D3DCOLORWRITEENABLE_RED   (1L<<0)
 
#define D3DCOLORWRITEENABLE_GREEN   (1L<<1)
 
#define D3DCOLORWRITEENABLE_BLUE   (1L<<2)
 
#define D3DCOLORWRITEENABLE_ALPHA   (1L<<3)
 
#define D3DPV_DONOTCOPYDATA   (1 << 0)
 
#define D3DSTREAMSOURCE_INDEXEDDATA   (1u << 30)
 
#define D3DSTREAMSOURCE_INSTANCEDATA   (2u << 30)
 
#define D3D_MAX_SIMULTANEOUS_RENDERTARGETS   4
 
#define MAXD3DDECLLENGTH   64 /* +end marker */
 
#define MAXD3DDECLMETHOD   D3DDECLMETHOD_LOOKUPPRESAMPLED
 
#define MAXD3DDECLTYPE   D3DDECLTYPE_UNUSED
 
#define MAXD3DDECLUSAGE   D3DDECLUSAGE_SAMPLE
 
#define MAXD3DDECLUSAGEINDEX   15
 
#define D3DDMAPSAMPLER   256
 
#define D3DVERTEXTEXTURESAMPLER0   (D3DDMAPSAMPLER+1)
 
#define D3DVERTEXTEXTURESAMPLER1   (D3DDMAPSAMPLER+2)
 
#define D3DVERTEXTEXTURESAMPLER2   (D3DDMAPSAMPLER+3)
 
#define D3DVERTEXTEXTURESAMPLER3   (D3DDMAPSAMPLER+4)
 
#define MAKEFOURCC(ch0, ch1, ch2, ch3)
 
#define D3DPRESENTFLAG_LOCKABLE_BACKBUFFER   0x00000001 /* Create a lockable backbuffer */
 
#define D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL   0x00000002 /* Discard Z buffer */
 
#define D3DPRESENTFLAG_DEVICECLIP   0x00000004 /* Clip the window blited into the client area 2k + xp only */
 
#define D3DPRESENTFLAG_VIDEO   0x00000010 /* backbuffer 'may' contain video data */
 
#define D3DPRESENTFLAG_NOAUTOROTATE   0x00000020 /* d3d9ex, ignore display rotation */
 
#define D3DPRESENTFLAG_UNPRUNEDMODE   0x00000040 /* d3d9ex, specify invalid display modes */
 
#define D3DPRESENT_RATE_DEFAULT   0x00000000
 
#define D3DMAXDECLUSAGE   D3DDECLUSAGE_SAMPLE
 
#define D3DMAXDECLUSAGEINDEX   15
 
#define D3DMAXDECLLENGTH   18
 
#define D3DMAXDECLUSAGE_DX8   D3DDECLUSAGE_TEXCOORD
 
#define D3DMAXDECLMETHOD   D3DDECLMETHOD_LOOKUPPRESAMPLED
 
#define D3DMAXDECLTYPE   D3DDECLTYPE_UNUSED
 
#define D3DISSUE_BEGIN   (1 << 1)
 
#define D3DISSUE_END   (1 << 0)
 
#define D3DGETDATA_FLUSH   (1 << 0)
 
#define D3DDECL_END()   {0xFF,0,D3DDECLTYPE_UNUSED,0,0,0}
 
#define D3DDP_MAXTEXCOORD   8
 
#define D3DVSD_MAKETOKENTYPE(TokenType)   ((TokenType << D3DVSD_TOKENTYPESHIFT) & D3DVSD_TOKENTYPEMASK)
 
#define D3DVSD_CONST(ConstantAddress, Count)   (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_CONSTMEM) | ((Count) << D3DVSD_CONSTCOUNTSHIFT) | (ConstantAddress))
 
#define D3DVSD_END()   0xFFFFFFFF
 
#define D3DVSD_NOP()   0x00000000
 
#define D3DVSD_REG(VertexRegister, Type)   (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAMDATA) | ((Type) << D3DVSD_DATATYPESHIFT) | (VertexRegister))
 
#define D3DVSD_SKIP(Count)   (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAMDATA) | 0x10000000 | ((Count) << D3DVSD_SKIPCOUNTSHIFT))
 
#define D3DVSD_STREAM(StreamNumber)   (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAM) | (StreamNumber))
 
#define D3DVSD_STREAM_TESS()   (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAM) | (D3DVSD_STREAMTESSMASK))
 
#define D3DVSD_TESSNORMAL(RegisterIn, RegisterOut)   (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_TESSELLATOR) | ((RegisterIn) << D3DVSD_VERTEXREGINSHIFT) | ((0x02) << D3DVSD_DATATYPESHIFT) | (RegisterOut))
 
#define D3DVSD_TESSUV(Register)   (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_TESSELLATOR) | 0x10000000 | ((0x01) << D3DVSD_DATATYPESHIFT) | (Register))
 
#define D3DDP_MAXTEXCOORD   8
 
#define D3DSI_OPCODE_MASK   0x0000FFFF
 
#define D3DSI_INSTLENGTH_MASK   0x0F000000
 
#define D3DSI_INSTLENGTH_SHIFT   24
 
#define D3DSINCOSCONST1   -1.5500992e-006f, -2.1701389e-005f, 0.0026041667f, 0.00026041668f
 
#define D3DSINCOSCONST2   -0.020833334f, -0.12500000f, 1.0f, 0.50000000f
 
#define D3DSHADER_INSTRUCTION_PREDICATED   (1 << 28)
 
#define D3DSI_TEXLD_PROJECT   0x00010000
 
#define D3DSI_TEXLD_BIAS   0x00020000
 
#define D3DSI_COISSUE   0x40000000
 
#define D3DSP_DCL_USAGE_SHIFT   0
 
#define D3DSP_DCL_USAGE_MASK   0x0000000f
 
#define D3DSP_DCL_USAGEINDEX_SHIFT   16
 
#define D3DSP_DCL_USAGEINDEX_MASK   0x000f0000
 
#define D3DSP_TEXTURETYPE_SHIFT   27
 
#define D3DSP_TEXTURETYPE_MASK   0x78000000
 
#define D3DSP_REGNUM_MASK   0x000007FF
 
#define D3DSP_WRITEMASK_0   0x00010000 /* .x r */
 
#define D3DSP_WRITEMASK_1   0x00020000 /* .y g */
 
#define D3DSP_WRITEMASK_2   0x00040000 /* .z b */
 
#define D3DSP_WRITEMASK_3   0x00080000 /* .w a */
 
#define D3DSP_WRITEMASK_ALL   0x000F0000 /* all */
 
#define D3DSP_DSTMOD_SHIFT   20
 
#define D3DSP_DSTMOD_MASK   (0xF << D3DSP_DSTMOD_SHIFT)
 
#define D3DSP_DSTSHIFT_SHIFT   24
 
#define D3DSP_DSTSHIFT_MASK   (0xF << D3DSP_DSTSHIFT_SHIFT)
 
#define D3DSP_REGTYPE_SHIFT   28
 
#define D3DSP_REGTYPE_SHIFT2   8
 
#define D3DSP_REGTYPE_MASK   (0x7 << D3DSP_REGTYPE_SHIFT)
 
#define D3DSP_REGTYPE_MASK2   0x00001800
 
#define D3DVS_ADDRESSMODE_SHIFT   13
 
#define D3DVS_ADDRESSMODE_MASK   (0x1 << D3DVS_ADDRESSMODE_SHIFT)
 
#define D3DSHADER_ADDRESSMODE_SHIFT   13
 
#define D3DSHADER_ADDRESSMODE_MASK   (1 << D3DSHADER_ADDRESSMODE_SHIFT)
 
#define D3DVS_SWIZZLE_SHIFT   16
 
#define D3DVS_SWIZZLE_MASK   (0xFF << D3DVS_SWIZZLE_SHIFT)
 
#define D3DSP_SWIZZLE_SHIFT   16
 
#define D3DSP_SWIZZLE_MASK   (0xFF << D3DSP_SWIZZLE_SHIFT)
 
#define D3DVS_X_X   (0 << D3DVS_SWIZZLE_SHIFT)
 
#define D3DVS_X_Y   (1 << D3DVS_SWIZZLE_SHIFT)
 
#define D3DVS_X_Z   (2 << D3DVS_SWIZZLE_SHIFT)
 
#define D3DVS_X_W   (3 << D3DVS_SWIZZLE_SHIFT)
 
#define D3DVS_Y_X   (0 << (D3DVS_SWIZZLE_SHIFT + 2))
 
#define D3DVS_Y_Y   (1 << (D3DVS_SWIZZLE_SHIFT + 2))
 
#define D3DVS_Y_Z   (2 << (D3DVS_SWIZZLE_SHIFT + 2))
 
#define D3DVS_Y_W   (3 << (D3DVS_SWIZZLE_SHIFT + 2))
 
#define D3DVS_Z_X   (0 << (D3DVS_SWIZZLE_SHIFT + 4))
 
#define D3DVS_Z_Y   (1 << (D3DVS_SWIZZLE_SHIFT + 4))
 
#define D3DVS_Z_Z   (2 << (D3DVS_SWIZZLE_SHIFT + 4))
 
#define D3DVS_Z_W   (3 << (D3DVS_SWIZZLE_SHIFT + 4))
 
#define D3DVS_W_X   (0 << (D3DVS_SWIZZLE_SHIFT + 6))
 
#define D3DVS_W_Y   (1 << (D3DVS_SWIZZLE_SHIFT + 6))
 
#define D3DVS_W_Z   (2 << (D3DVS_SWIZZLE_SHIFT + 6))
 
#define D3DVS_W_W   (3 << (D3DVS_SWIZZLE_SHIFT + 6))
 
#define D3DVS_NOSWIZZLE   (D3DVS_X_X | D3DVS_Y_Y | D3DVS_Z_Z | D3DVS_W_W)
 
#define D3DSP_NOSWIZZLE   ((0 << (D3DSP_SWIZZLE_SHIFT + 0)) | (1 << (D3DSP_SWIZZLE_SHIFT + 2)) | (2 << (D3DSP_SWIZZLE_SHIFT + 4)) | (3 << (D3DSP_SWIZZLE_SHIFT + 6)))
 
#define D3DSP_SRCMOD_SHIFT   24
 
#define D3DSP_SRCMOD_MASK   (0xF << D3DSP_SRCMOD_SHIFT)
 
#define D3DPS_VERSION(major, minor)   (0xFFFF0000 | ((major) << 8) | (minor))
 
#define D3DVS_VERSION(major, minor)   (0xFFFE0000 | ((major) << 8) | (minor))
 
#define D3DSHADER_VERSION_MAJOR(version)   (((version) >> 8) & 0xFF)
 
#define D3DSHADER_VERSION_MINOR(version)   (((version) >> 0) & 0xFF)
 
#define D3DSI_COMMENTSIZE_SHIFT   16
 
#define D3DSI_COMMENTSIZE_MASK   (0x7FFF << D3DSI_COMMENTSIZE_SHIFT)
 
#define D3DSHADER_COMMENT(commentSize)   ((((commentSize) << D3DSI_COMMENTSIZE_SHIFT) & D3DSI_COMMENTSIZE_MASK) | D3DSIO_COMMENT)
 
#define D3DPS_END()   0x0000FFFF
 
#define D3DVS_END()   0x0000FFFF
 
#define D3DRTYPECOUNT   (D3DRTYPE_INDEXBUFFER+1)
 
#define D3DCOLOR_DEFINED
 
#define D3DCOLORVALUE_DEFINED
 
#define D3DVECTOR_DEFINED
 
#define D3DMATRIX_DEFINED
 
#define D3DRECT_DEFINED
 

Typedefs

typedef enum _D3DDECLUSAGE D3DDECLUSAGE
 
typedef enum _D3DDECLMETHOD D3DDECLMETHOD
 
typedef enum _D3DDECLTYPE D3DDECLTYPE
 
typedef struct _D3DVERTEXELEMENT9 D3DVERTEXELEMENT9
 
typedef struct _D3DVERTEXELEMENT9LPD3DVERTEXELEMENT9
 
typedef enum _D3DQUERYTYPE D3DQUERYTYPE
 
typedef enum _D3DSHADER_INSTRUCTION_OPCODE_TYPE D3DSHADER_INSTRUCTION_OPCODE_TYPE
 
typedef enum _D3DSAMPLER_TEXTURE_TYPE D3DSAMPLER_TEXTURE_TYPE
 
typedef enum _D3DSHADER_PARAM_DSTMOD_TYPE D3DSHADER_PARAM_DSTMOD_TYPE
 
typedef enum _D3DSHADER_PARAM_REGISTER_TYPE D3DSHADER_PARAM_REGISTER_TYPE
 
typedef enum _D3DSHADER_MISCTYPE_OFFSETS D3DSHADER_MISCTYPE_OFFSETS
 
typedef enum _D3DVS_RASTOUT_OFFSETS D3DVS_RASTOUT_OFFSETS
 
typedef enum _D3DVS_ADDRESSMODE_TYPE D3DVS_ADDRESSMODE_TYPE
 
typedef enum _D3DSHADER_ADDRESSMODE_TYPE D3DSHADER_ADDRESSMODE_TYPE
 
typedef enum _D3DSHADER_PARAM_SRCMOD_TYPE D3DSHADER_PARAM_SRCMOD_TYPE
 
typedef enum _D3DBACKBUFFER_TYPE D3DBACKBUFFER_TYPE
 
typedef enum _D3DBASISTYPE D3DBASISTYPE
 
typedef enum _D3DBLEND D3DBLEND
 
typedef enum _D3DBLENDOP D3DBLENDOP
 
typedef enum _D3DCMPFUNC D3DCMPFUNC
 
typedef enum _D3DCUBEMAP_FACES D3DCUBEMAP_FACES
 
typedef enum _D3DCULL D3DCULL
 
typedef enum _D3DDEBUGMONITORTOKENS D3DDEBUGMONITORTOKENS
 
typedef enum _D3DDEGREETYPE D3DDEGREETYPE
 
typedef enum _D3DDEVTYPE D3DDEVTYPE
 
typedef enum _D3DFILLMODE D3DFILLMODE
 
typedef enum _D3DFOGMODE D3DFOGMODE
 
typedef enum _D3DFORMAT D3DFORMAT
 
typedef enum _D3DLIGHTTYPE D3DLIGHTTYPE
 
typedef enum _D3DMATERIALCOLORSOURCE D3DMATERIALCOLORSOURCE
 
typedef enum _D3DMULTISAMPLE_TYPE D3DMULTISAMPLE_TYPE
 
typedef enum _D3DPATCHEDGESTYLE D3DPATCHEDGESTYLE
 
typedef enum _D3DPOOL D3DPOOL
 
typedef enum _D3DPRIMITIVETYPE D3DPRIMITIVETYPE
 
typedef enum _D3DRENDERSTATETYPE D3DRENDERSTATETYPE
 
typedef enum _D3DRESOURCETYPE D3DRESOURCETYPE
 
typedef enum _D3DSHADEMODE D3DSHADEMODE
 
typedef enum _D3DSTATEBLOCKTYPE D3DSTATEBLOCKTYPE
 
typedef enum _D3DSTENCILOP D3DSTENCILOP
 
typedef enum _D3DSWAPEFFECT D3DSWAPEFFECT
 
typedef enum _D3DTEXTUREADDRESS D3DTEXTUREADDRESS
 
typedef enum _D3DTEXTUREFILTERTYPE D3DTEXTUREFILTERTYPE
 
typedef enum _D3DTEXTUREOP D3DTEXTUREOP
 
typedef enum _D3DTEXTURESTAGESTATETYPE D3DTEXTURESTAGESTATETYPE
 
typedef enum _D3DTEXTURETRANSFORMFLAGS D3DTEXTURETRANSFORMFLAGS
 
typedef enum _D3DTRANSFORMSTATETYPE D3DTRANSFORMSTATETYPE
 
typedef enum _D3DVERTEXBLENDFLAGS D3DVERTEXBLENDFLAGS
 
typedef enum _D3DZBUFFERTYPE D3DZBUFFERTYPE
 
typedef enum _D3DSAMPLERSTATETYPE D3DSAMPLERSTATETYPE
 
typedef DWORD D3DCOLOR
 
typedef struct _D3DADAPTER_IDENTIFIER9 D3DADAPTER_IDENTIFIER9
 
typedef struct _D3DBOX D3DBOX
 
typedef struct _D3DCLIPSTATUS9 D3DCLIPSTATUS9
 
typedef struct _D3DCOLORVALUE D3DCOLORVALUE
 
typedef struct _D3DDEVICE_CREATION_PARAMETERS D3DDEVICE_CREATION_PARAMETERS
 
typedef struct _D3DDEVINFO_D3D9BANDWIDTHTIMINGS D3DDEVINFO_D3D9BANDWIDTHTIMINGS
 
typedef struct _D3DDEVINFO_D3D9CACHEUTILIZATION D3DDEVINFO_D3D9CACHEUTILIZATION
 
typedef struct _D3DDEVINFO_D3D9INTERFACETIMINGS D3DDEVINFO_D3D9INTERFACETIMINGS
 
typedef struct _D3DDEVINFO_D3D9PIPELINETIMINGS D3DDEVINFO_D3D9PIPELINETIMINGS
 
typedef struct _D3DDEVINFO_D3D9STAGETIMINGS D3DDEVINFO_D3D9STAGETIMINGS
 
typedef struct D3DDEVINFO_VCACHE D3DDEVINFO_VCACHE
 
typedef struct D3DRESOURCESTATS D3DRESOURCESTATS
 
typedef struct _D3DDEVINFO_D3DRESOURCEMANAGER D3DDEVINFO_D3DRESOURCEMANAGER
 
typedef struct _D3DDEVINFO_D3DVERTEXSTATS D3DDEVINFO_D3DVERTEXSTATS
 
typedef struct _D3DDISPLAYMODE D3DDISPLAYMODE
 
typedef struct _D3DGAMMARAMP D3DGAMMARAMP
 
typedef struct _D3DINDEXBUFFER_DESC D3DINDEXBUFFER_DESC
 
typedef struct _D3DVECTOR D3DVECTOR
 
typedef struct _D3DLIGHT9 D3DLIGHT9
 
typedef struct _D3DLINEPATTERN D3DLINEPATTERN
 
typedef struct _D3DLOCKED_BOX D3DLOCKED_BOX
 
typedef struct _D3DLOCKED_RECT D3DLOCKED_RECT
 
typedef struct _D3DMATERIAL9 D3DMATERIAL9
 
typedef struct _D3DMATRIX D3DMATRIX
 
typedef struct _D3DPRESENT_PARAMETERS_ D3DPRESENT_PARAMETERS
 
typedef struct _D3DRANGE D3DRANGE
 
typedef struct _D3DRASTER_STATUS D3DRASTER_STATUS
 
typedef struct _D3DRECT D3DRECT
 
typedef struct _D3DRECTPATCH_INFO D3DRECTPATCH_INFO
 
typedef struct _D3DSURFACE_DESC D3DSURFACE_DESC
 
typedef struct _D3DTRIPATCH_INFO D3DTRIPATCH_INFO
 
typedef struct _D3DVERTEXBUFFER_DESC D3DVERTEXBUFFER_DESC
 
typedef struct _D3DVIEWPORT9 D3DVIEWPORT9
 
typedef struct _D3DVOLUME_DESC D3DVOLUME_DESC
 
typedef enum D3DSCANLINEORDERING D3DSCANLINEORDERING
 
typedef struct D3DDISPLAYMODEFILTER D3DDISPLAYMODEFILTER
 
typedef struct D3DDISPLAYMODEEX D3DDISPLAYMODEEX
 
typedef enum D3DDISPLAYROTATION D3DDISPLAYROTATION
 
typedef enum _D3DCOMPOSERECTSOP D3DCOMPOSERECTSOP
 
typedef struct _D3DPRESENTSTATS D3DPRESENTSTATS
 
typedef enum _D3DSHADER_COMPARISON D3DSHADER_COMPARISON
 

Enumerations

enum  _D3DDECLUSAGE {
  D3DDECLUSAGE_POSITION = 0, D3DDECLUSAGE_BLENDWEIGHT = 1, D3DDECLUSAGE_BLENDINDICES = 2, D3DDECLUSAGE_NORMAL = 3,
  D3DDECLUSAGE_PSIZE = 4, D3DDECLUSAGE_TEXCOORD = 5, D3DDECLUSAGE_TANGENT = 6, D3DDECLUSAGE_BINORMAL = 7,
  D3DDECLUSAGE_TESSFACTOR = 8, D3DDECLUSAGE_POSITIONT = 9, D3DDECLUSAGE_COLOR = 10, D3DDECLUSAGE_FOG = 11,
  D3DDECLUSAGE_DEPTH = 12, D3DDECLUSAGE_SAMPLE = 13
}
 
enum  _D3DDECLMETHOD {
  D3DDECLMETHOD_DEFAULT = 0, D3DDECLMETHOD_PARTIALU = 1, D3DDECLMETHOD_PARTIALV = 2, D3DDECLMETHOD_CROSSUV = 3,
  D3DDECLMETHOD_UV = 4, D3DDECLMETHOD_LOOKUP = 5, D3DDECLMETHOD_LOOKUPPRESAMPLED = 6
}
 
enum  _D3DDECLTYPE {
  D3DDECLTYPE_FLOAT1 = 0, D3DDECLTYPE_FLOAT2 = 1, D3DDECLTYPE_FLOAT3 = 2, D3DDECLTYPE_FLOAT4 = 3,
  D3DDECLTYPE_D3DCOLOR = 4, D3DDECLTYPE_UBYTE4 = 5, D3DDECLTYPE_SHORT2 = 6, D3DDECLTYPE_SHORT4 = 7,
  D3DDECLTYPE_UBYTE4N = 8, D3DDECLTYPE_SHORT2N = 9, D3DDECLTYPE_SHORT4N = 10, D3DDECLTYPE_USHORT2N = 11,
  D3DDECLTYPE_USHORT4N = 12, D3DDECLTYPE_UDEC3 = 13, D3DDECLTYPE_DEC3N = 14, D3DDECLTYPE_FLOAT16_2 = 15,
  D3DDECLTYPE_FLOAT16_4 = 16, D3DDECLTYPE_UNUSED = 17
}
 
enum  _D3DQUERYTYPE {
  D3DQUERYTYPE_VCACHE = 4, D3DQUERYTYPE_RESOURCEMANAGER = 5, D3DQUERYTYPE_VERTEXSTATS = 6, D3DQUERYTYPE_EVENT = 8,
  D3DQUERYTYPE_OCCLUSION = 9, D3DQUERYTYPE_TIMESTAMP = 10, D3DQUERYTYPE_TIMESTAMPDISJOINT = 11, D3DQUERYTYPE_TIMESTAMPFREQ = 12,
  D3DQUERYTYPE_PIPELINETIMINGS = 13, D3DQUERYTYPE_INTERFACETIMINGS = 14, D3DQUERYTYPE_VERTEXTIMINGS = 15, D3DQUERYTYPE_PIXELTIMINGS = 16,
  D3DQUERYTYPE_BANDWIDTHTIMINGS = 17, D3DQUERYTYPE_CACHEUTILIZATION = 18, D3DQUERYTYPE_MEMORYPRESSURE = 19
}
 
enum  _D3DSHADER_INSTRUCTION_OPCODE_TYPE {
  D3DSIO_NOP = 0, D3DSIO_MOV = 1, D3DSIO_ADD = 2, D3DSIO_SUB = 3,
  D3DSIO_MAD = 4, D3DSIO_MUL = 5, D3DSIO_RCP = 6, D3DSIO_RSQ = 7,
  D3DSIO_DP3 = 8, D3DSIO_DP4 = 9, D3DSIO_MIN = 10, D3DSIO_MAX = 11,
  D3DSIO_SLT = 12, D3DSIO_SGE = 13, D3DSIO_EXP = 14, D3DSIO_LOG = 15,
  D3DSIO_LIT = 16, D3DSIO_DST = 17, D3DSIO_LRP = 18, D3DSIO_FRC = 19,
  D3DSIO_M4x4 = 20, D3DSIO_M4x3 = 21, D3DSIO_M3x4 = 22, D3DSIO_M3x3 = 23,
  D3DSIO_M3x2 = 24, D3DSIO_TEXCOORD = 64, D3DSIO_TEXKILL = 65, D3DSIO_TEX = 66,
  D3DSIO_TEXBEM = 67, D3DSIO_TEXBEML = 68, D3DSIO_TEXREG2AR = 69, D3DSIO_TEXREG2GB = 70,
  D3DSIO_TEXM3x2PAD = 71, D3DSIO_TEXM3x2TEX = 72, D3DSIO_TEXM3x3PAD = 73, D3DSIO_TEXM3x3TEX = 74,
  D3DSIO_TEXM3x3DIFF = 75, D3DSIO_TEXM3x3SPEC = 76, D3DSIO_TEXM3x3VSPEC = 77, D3DSIO_EXPP = 78,
  D3DSIO_LOGP = 79, D3DSIO_CND = 80, D3DSIO_DEF = 81, D3DSIO_TEXREG2RGB = 82,
  D3DSIO_TEXDP3TEX = 83, D3DSIO_TEXM3x2DEPTH = 84, D3DSIO_TEXDP3 = 85, D3DSIO_TEXM3x3 = 86,
  D3DSIO_TEXDEPTH = 87, D3DSIO_CMP = 88, D3DSIO_BEM = 89, D3DSIO_PHASE = 0xFFFD,
  D3DSIO_COMMENT = 0xFFFE, D3DSIO_END = 0XFFFF, D3DSIO_FORCE_DWORD = 0X7FFFFFFF, D3DSIO_NOP = 0,
  D3DSIO_MOV = 1, D3DSIO_ADD = 2, D3DSIO_SUB = 3, D3DSIO_MAD = 4,
  D3DSIO_MUL = 5, D3DSIO_RCP = 6, D3DSIO_RSQ = 7, D3DSIO_DP3 = 8,
  D3DSIO_DP4 = 9, D3DSIO_MIN = 10, D3DSIO_MAX = 11, D3DSIO_SLT = 12,
  D3DSIO_SGE = 13, D3DSIO_EXP = 14, D3DSIO_LOG = 15, D3DSIO_LIT = 16,
  D3DSIO_DST = 17, D3DSIO_LRP = 18, D3DSIO_FRC = 19, D3DSIO_M4x4 = 20,
  D3DSIO_M4x3 = 21, D3DSIO_M3x4 = 22, D3DSIO_M3x3 = 23, D3DSIO_M3x2 = 24,
  D3DSIO_CALL = 25, D3DSIO_CALLNZ = 26, D3DSIO_LOOP = 27, D3DSIO_RET = 28,
  D3DSIO_ENDLOOP = 29, D3DSIO_LABEL = 30, D3DSIO_DCL = 31, D3DSIO_POW = 32,
  D3DSIO_CRS = 33, D3DSIO_SGN = 34, D3DSIO_ABS = 35, D3DSIO_NRM = 36,
  D3DSIO_SINCOS = 37, D3DSIO_REP = 38, D3DSIO_ENDREP = 39, D3DSIO_IF = 40,
  D3DSIO_IFC = 41, D3DSIO_ELSE = 42, D3DSIO_ENDIF = 43, D3DSIO_BREAK = 44,
  D3DSIO_BREAKC = 45, D3DSIO_MOVA = 46, D3DSIO_DEFB = 47, D3DSIO_DEFI = 48,
  D3DSIO_TEXCOORD = 64, D3DSIO_TEXKILL = 65, D3DSIO_TEX = 66, D3DSIO_TEXBEM = 67,
  D3DSIO_TEXBEML = 68, D3DSIO_TEXREG2AR = 69, D3DSIO_TEXREG2GB = 70, D3DSIO_TEXM3x2PAD = 71,
  D3DSIO_TEXM3x2TEX = 72, D3DSIO_TEXM3x3PAD = 73, D3DSIO_TEXM3x3TEX = 74, D3DSIO_TEXM3x3DIFF = 75,
  D3DSIO_TEXM3x3SPEC = 76, D3DSIO_TEXM3x3VSPEC = 77, D3DSIO_EXPP = 78, D3DSIO_LOGP = 79,
  D3DSIO_CND = 80, D3DSIO_DEF = 81, D3DSIO_TEXREG2RGB = 82, D3DSIO_TEXDP3TEX = 83,
  D3DSIO_TEXM3x2DEPTH = 84, D3DSIO_TEXDP3 = 85, D3DSIO_TEXM3x3 = 86, D3DSIO_TEXDEPTH = 87,
  D3DSIO_CMP = 88, D3DSIO_BEM = 89, D3DSIO_DP2ADD = 90, D3DSIO_DSX = 91,
  D3DSIO_DSY = 92, D3DSIO_TEXLDD = 93, D3DSIO_SETP = 94, D3DSIO_TEXLDL = 95,
  D3DSIO_BREAKP = 96, D3DSIO_PHASE = 0xFFFD, D3DSIO_COMMENT = 0xFFFE, D3DSIO_END = 0XFFFF,
  D3DSIO_FORCE_DWORD = 0X7FFFFFFF
}
 
enum  _D3DSAMPLER_TEXTURE_TYPE {
  D3DSTT_UNKNOWN = 0 << D3DSP_TEXTURETYPE_SHIFT, D3DSTT_1D = 1 << D3DSP_TEXTURETYPE_SHIFT, D3DSTT_2D = 2 << D3DSP_TEXTURETYPE_SHIFT, D3DSTT_CUBE = 3 << D3DSP_TEXTURETYPE_SHIFT,
  D3DSTT_VOLUME = 4 << D3DSP_TEXTURETYPE_SHIFT, D3DSTT_FORCE_DWORD = 0x7FFFFFFF
}
 
enum  _D3DSHADER_PARAM_DSTMOD_TYPE {
  D3DSPDM_NONE = 0 << D3DSP_DSTMOD_SHIFT, D3DSPDM_SATURATE = 1 << D3DSP_DSTMOD_SHIFT, D3DSPDM_FORCE_DWORD = 0X7FFFFFFF, D3DSPDM_NONE = 0 << D3DSP_DSTMOD_SHIFT,
  D3DSPDM_SATURATE = 1 << D3DSP_DSTMOD_SHIFT, D3DSPDM_PARTIALPRECISION = 2 << D3DSP_DSTMOD_SHIFT, D3DSPDM_MSAMPCENTROID = 4 << D3DSP_DSTMOD_SHIFT, D3DSPDM_FORCE_DWORD = 0x7FFFFFFF
}
 
enum  _D3DSHADER_PARAM_REGISTER_TYPE {
  D3DSPR_TEMP = 0 << D3DSP_REGTYPE_SHIFT, D3DSPR_INPUT = 1 << D3DSP_REGTYPE_SHIFT, D3DSPR_CONST = 2 << D3DSP_REGTYPE_SHIFT, D3DSPR_ADDR = 3 << D3DSP_REGTYPE_SHIFT,
  D3DSPR_TEXTURE = 3 << D3DSP_REGTYPE_SHIFT, D3DSPR_RASTOUT = 4 << D3DSP_REGTYPE_SHIFT, D3DSPR_ATTROUT = 5 << D3DSP_REGTYPE_SHIFT, D3DSPR_TEXCRDOUT = 6 << D3DSP_REGTYPE_SHIFT,
  D3DSPR_FORCE_DWORD = 0x7FFFFFFF, D3DSPR_TEMP = 0, D3DSPR_INPUT = 1, D3DSPR_CONST = 2,
  D3DSPR_ADDR = 3, D3DSPR_TEXTURE = 3, D3DSPR_RASTOUT = 4, D3DSPR_ATTROUT = 5,
  D3DSPR_TEXCRDOUT = 6, D3DSPR_OUTPUT = 6, D3DSPR_CONSTINT = 7, D3DSPR_COLOROUT = 8,
  D3DSPR_DEPTHOUT = 9, D3DSPR_SAMPLER = 10, D3DSPR_CONST2 = 11, D3DSPR_CONST3 = 12,
  D3DSPR_CONST4 = 13, D3DSPR_CONSTBOOL = 14, D3DSPR_LOOP = 15, D3DSPR_TEMPFLOAT16 = 16,
  D3DSPR_MISCTYPE = 17, D3DSPR_LABEL = 18, D3DSPR_PREDICATE = 19, D3DSPR_FORCE_DWORD = 0x7FFFFFFF
}
 
enum  _D3DSHADER_MISCTYPE_OFFSETS { D3DSMO_POSITION = 0, D3DSMO_FACE = 1 }
 
enum  _D3DVS_RASTOUT_OFFSETS {
  D3DSRO_POSITION = 0, D3DSRO_FOG = 1, D3DSRO_POINT_SIZE = 2, D3DSRO_FORCE_DWORD = 0x7FFFFFFF,
  D3DSRO_POSITION = 0, D3DSRO_FOG = 1, D3DSRO_POINT_SIZE = 2, D3DSRO_FORCE_DWORD = 0x7FFFFFFF
}
 
enum  _D3DVS_ADDRESSMODE_TYPE {
  D3DVS_ADDRMODE_ABSOLUTE = 0 << D3DVS_ADDRESSMODE_SHIFT, D3DVS_ADDRMODE_RELATIVE = 1 << D3DVS_ADDRESSMODE_SHIFT, D3DVS_ADDRMODE_FORCE_DWORD = 0x7FFFFFFF, D3DVS_ADDRMODE_ABSOLUTE = 0 << D3DVS_ADDRESSMODE_SHIFT,
  D3DVS_ADDRMODE_RELATIVE = 1 << D3DVS_ADDRESSMODE_SHIFT, D3DVS_ADDRMODE_FORCE_DWORD = 0x7FFFFFFF
}
 
enum  _D3DSHADER_ADDRESSMODE_TYPE { D3DSHADER_ADDRMODE_ABSOLUTE = 0 << D3DSHADER_ADDRESSMODE_SHIFT, D3DSHADER_ADDRMODE_RELATIVE = 1 << D3DSHADER_ADDRESSMODE_SHIFT, D3DSHADER_ADDRMODE_FORCE_DWORD = 0x7FFFFFFF }
 
enum  _D3DSHADER_PARAM_SRCMOD_TYPE {
  D3DSPSM_NONE = 0 << D3DSP_SRCMOD_SHIFT, D3DSPSM_NEG = 1 << D3DSP_SRCMOD_SHIFT, D3DSPSM_BIAS = 2 << D3DSP_SRCMOD_SHIFT, D3DSPSM_BIASNEG = 3 << D3DSP_SRCMOD_SHIFT,
  D3DSPSM_SIGN = 4 << D3DSP_SRCMOD_SHIFT, D3DSPSM_SIGNNEG = 5 << D3DSP_SRCMOD_SHIFT, D3DSPSM_COMP = 6 << D3DSP_SRCMOD_SHIFT, D3DSPSM_X2 = 7 << D3DSP_SRCMOD_SHIFT,
  D3DSPSM_X2NEG = 8 << D3DSP_SRCMOD_SHIFT, D3DSPSM_DZ = 9 << D3DSP_SRCMOD_SHIFT, D3DSPSM_DW = 10 << D3DSP_SRCMOD_SHIFT, D3DSPSM_FORCE_DWORD = 0x7FFFFFFF,
  D3DSPSM_NONE = 0 << D3DSP_SRCMOD_SHIFT, D3DSPSM_NEG = 1 << D3DSP_SRCMOD_SHIFT, D3DSPSM_BIAS = 2 << D3DSP_SRCMOD_SHIFT, D3DSPSM_BIASNEG = 3 << D3DSP_SRCMOD_SHIFT,
  D3DSPSM_SIGN = 4 << D3DSP_SRCMOD_SHIFT, D3DSPSM_SIGNNEG = 5 << D3DSP_SRCMOD_SHIFT, D3DSPSM_COMP = 6 << D3DSP_SRCMOD_SHIFT, D3DSPSM_X2 = 7 << D3DSP_SRCMOD_SHIFT,
  D3DSPSM_X2NEG = 8 << D3DSP_SRCMOD_SHIFT, D3DSPSM_DZ = 9 << D3DSP_SRCMOD_SHIFT, D3DSPSM_DW = 10 << D3DSP_SRCMOD_SHIFT, D3DSPSM_ABS = 11 << D3DSP_SRCMOD_SHIFT,
  D3DSPSM_ABSNEG = 12 << D3DSP_SRCMOD_SHIFT, D3DSPSM_NOT = 13 << D3DSP_SRCMOD_SHIFT, D3DSPSM_FORCE_DWORD = 0x7FFFFFFF
}
 
enum  _D3DBACKBUFFER_TYPE {
  D3DBACKBUFFER_TYPE_MONO = 0, D3DBACKBUFFER_TYPE_LEFT = 1, D3DBACKBUFFER_TYPE_RIGHT = 2, D3DBACKBUFFER_TYPE_FORCE_DWORD = 0x7fffffff,
  D3DBACKBUFFER_TYPE_MONO = 0, D3DBACKBUFFER_TYPE_LEFT = 1, D3DBACKBUFFER_TYPE_RIGHT = 2, D3DBACKBUFFER_TYPE_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DBASISTYPE {
  D3DBASIS_BEZIER = 0, D3DBASIS_BSPLINE = 1, D3DBASIS_INTERPOLATE = 2, D3DBASIS_FORCE_DWORD = 0x7fffffff,
  D3DBASIS_BEZIER = 0, D3DBASIS_BSPLINE = 1, D3DBASIS_INTERPOLATE = 2, D3DBASIS_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DBLEND {
  D3DBLEND_ZERO = 1, D3DBLEND_ONE = 2, D3DBLEND_SRCCOLOR = 3, D3DBLEND_INVSRCCOLOR = 4,
  D3DBLEND_SRCALPHA = 5, D3DBLEND_INVSRCALPHA = 6, D3DBLEND_DESTALPHA = 7, D3DBLEND_INVDESTALPHA = 8,
  D3DBLEND_DESTCOLOR = 9, D3DBLEND_INVDESTCOLOR = 10, D3DBLEND_SRCALPHASAT = 11, D3DBLEND_BOTHSRCALPHA = 12,
  D3DBLEND_BOTHINVSRCALPHA = 13, D3DBLEND_FORCE_DWORD = 0x7fffffff, D3DBLEND_ZERO = 1, D3DBLEND_ONE = 2,
  D3DBLEND_SRCCOLOR = 3, D3DBLEND_INVSRCCOLOR = 4, D3DBLEND_SRCALPHA = 5, D3DBLEND_INVSRCALPHA = 6,
  D3DBLEND_DESTALPHA = 7, D3DBLEND_INVDESTALPHA = 8, D3DBLEND_DESTCOLOR = 9, D3DBLEND_INVDESTCOLOR = 10,
  D3DBLEND_SRCALPHASAT = 11, D3DBLEND_BOTHSRCALPHA = 12, D3DBLEND_BOTHINVSRCALPHA = 13, D3DBLEND_BLENDFACTOR = 14,
  D3DBLEND_INVBLENDFACTOR = 15, D3DBLEND_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DBLENDOP {
  D3DBLENDOP_ADD = 1, D3DBLENDOP_SUBTRACT = 2, D3DBLENDOP_REVSUBTRACT = 3, D3DBLENDOP_MIN = 4,
  D3DBLENDOP_MAX = 5, D3DBLENDOP_FORCE_DWORD = 0x7fffffff, D3DBLENDOP_ADD = 1, D3DBLENDOP_SUBTRACT = 2,
  D3DBLENDOP_REVSUBTRACT = 3, D3DBLENDOP_MIN = 4, D3DBLENDOP_MAX = 5, D3DBLENDOP_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DCMPFUNC {
  D3DCMP_NEVER = 1, D3DCMP_LESS = 2, D3DCMP_EQUAL = 3, D3DCMP_LESSEQUAL = 4,
  D3DCMP_GREATER = 5, D3DCMP_NOTEQUAL = 6, D3DCMP_GREATEREQUAL = 7, D3DCMP_ALWAYS = 8,
  D3DCMP_FORCE_DWORD = 0x7fffffff, D3DCMP_NEVER = 1, D3DCMP_LESS = 2, D3DCMP_EQUAL = 3,
  D3DCMP_LESSEQUAL = 4, D3DCMP_GREATER = 5, D3DCMP_NOTEQUAL = 6, D3DCMP_GREATEREQUAL = 7,
  D3DCMP_ALWAYS = 8, D3DCMP_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DCUBEMAP_FACES {
  D3DCUBEMAP_FACE_POSITIVE_X = 0, D3DCUBEMAP_FACE_NEGATIVE_X = 1, D3DCUBEMAP_FACE_POSITIVE_Y = 2, D3DCUBEMAP_FACE_NEGATIVE_Y = 3,
  D3DCUBEMAP_FACE_POSITIVE_Z = 4, D3DCUBEMAP_FACE_NEGATIVE_Z = 5, D3DCUBEMAP_FACE_FORCE_DWORD = 0xffffffff, D3DCUBEMAP_FACE_POSITIVE_X = 0,
  D3DCUBEMAP_FACE_NEGATIVE_X = 1, D3DCUBEMAP_FACE_POSITIVE_Y = 2, D3DCUBEMAP_FACE_NEGATIVE_Y = 3, D3DCUBEMAP_FACE_POSITIVE_Z = 4,
  D3DCUBEMAP_FACE_NEGATIVE_Z = 5, D3DCUBEMAP_FACE_FORCE_DWORD = 0xffffffff
}
 
enum  _D3DCULL {
  D3DCULL_NONE = 1, D3DCULL_CW = 2, D3DCULL_CCW = 3, D3DCULL_FORCE_DWORD = 0x7fffffff,
  D3DCULL_NONE = 1, D3DCULL_CW = 2, D3DCULL_CCW = 3, D3DCULL_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DDEBUGMONITORTOKENS {
  D3DDMT_ENABLE = 0, D3DDMT_DISABLE = 1, D3DDMT_FORCE_DWORD = 0x7fffffff, D3DDMT_ENABLE = 0,
  D3DDMT_DISABLE = 1, D3DDMT_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DDEGREETYPE {
  D3DDEGREE_LINEAR = 1, D3DDEGREE_QUADRATIC = 2, D3DDEGREE_CUBIC = 3, D3DDEGREE_QUINTIC = 5,
  D3DDEGREE_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DDEVTYPE {
  D3DDEVTYPE_HAL = 1, D3DDEVTYPE_REF = 2, D3DDEVTYPE_SW = 3, D3DDEVTYPE_FORCE_DWORD = 0xffffffff,
  D3DDEVTYPE_HAL = 1, D3DDEVTYPE_REF = 2, D3DDEVTYPE_SW = 3, D3DDEVTYPE_NULLREF = 4,
  D3DDEVTYPE_FORCE_DWORD = 0xffffffff
}
 
enum  _D3DFILLMODE {
  D3DFILL_POINT = 1, D3DFILL_WIREFRAME = 2, D3DFILL_SOLID = 3, D3DFILL_FORCE_DWORD = 0x7fffffff,
  D3DFILL_POINT = 1, D3DFILL_WIREFRAME = 2, D3DFILL_SOLID = 3, D3DFILL_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DFOGMODE {
  D3DFOG_NONE = 0, D3DFOG_EXP = 1, D3DFOG_EXP2 = 2, D3DFOG_LINEAR = 3,
  D3DFOG_FORCE_DWORD = 0x7fffffff, D3DFOG_NONE = 0, D3DFOG_EXP = 1, D3DFOG_EXP2 = 2,
  D3DFOG_LINEAR = 3, D3DFOG_FORCE_DWORD = 0x7fffffff, D3DFOG_NONE = 0, D3DFOG_EXP = 1,
  D3DFOG_EXP2 = 2, D3DFOG_LINEAR = 3, D3DFOG_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DFORMAT {
  D3DFMT_UNKNOWN = 0, D3DFMT_R8G8B8 = 20, D3DFMT_A8R8G8B8 = 21, D3DFMT_X8R8G8B8 = 22,
  D3DFMT_R5G6B5 = 23, D3DFMT_X1R5G5B5 = 24, D3DFMT_A1R5G5B5 = 25, D3DFMT_A4R4G4B4 = 26,
  D3DFMT_R3G3B2 = 27, D3DFMT_A8 = 28, D3DFMT_A8R3G3B2 = 29, D3DFMT_X4R4G4B4 = 30,
  D3DFMT_A2B10G10R10 = 31, D3DFMT_G16R16 = 34, D3DFMT_A8P8 = 40, D3DFMT_P8 = 41,
  D3DFMT_L8 = 50, D3DFMT_A8L8 = 51, D3DFMT_A4L4 = 52, D3DFMT_V8U8 = 60,
  D3DFMT_L6V5U5 = 61, D3DFMT_X8L8V8U8 = 62, D3DFMT_Q8W8V8U8 = 63, D3DFMT_V16U16 = 64,
  D3DFMT_W11V11U10 = 65, D3DFMT_A2W10V10U10 = 67, D3DFMT_UYVY = MAKEFOURCC('U', 'Y', 'V', 'Y'), D3DFMT_YUY2 = MAKEFOURCC('Y', 'U', 'Y', '2'),
  D3DFMT_DXT1 = MAKEFOURCC('D', 'X', 'T', '1'), D3DFMT_DXT2 = MAKEFOURCC('D', 'X', 'T', '2'), D3DFMT_DXT3 = MAKEFOURCC('D', 'X', 'T', '3'), D3DFMT_DXT4 = MAKEFOURCC('D', 'X', 'T', '4'),
  D3DFMT_DXT5 = MAKEFOURCC('D', 'X', 'T', '5'), D3DFMT_D16_LOCKABLE = 70, D3DFMT_D32 = 71, D3DFMT_D15S1 = 73,
  D3DFMT_D24S8 = 75, D3DFMT_D16 = 80, D3DFMT_D24X8 = 77, D3DFMT_D24X4S4 = 79,
  D3DFMT_VERTEXDATA = 100, D3DFMT_INDEX16 = 101, D3DFMT_INDEX32 = 102, D3DFMT_FORCE_DWORD = 0xFFFFFFFF,
  D3DFMT_UNKNOWN = 0, D3DFMT_R8G8B8 = 20, D3DFMT_A8R8G8B8 = 21, D3DFMT_X8R8G8B8 = 22,
  D3DFMT_R5G6B5 = 23, D3DFMT_X1R5G5B5 = 24, D3DFMT_A1R5G5B5 = 25, D3DFMT_A4R4G4B4 = 26,
  D3DFMT_R3G3B2 = 27, D3DFMT_A8 = 28, D3DFMT_A8R3G3B2 = 29, D3DFMT_X4R4G4B4 = 30,
  D3DFMT_A2B10G10R10 = 31, D3DFMT_A8B8G8R8 = 32, D3DFMT_X8B8G8R8 = 33, D3DFMT_G16R16 = 34,
  D3DFMT_A2R10G10B10 = 35, D3DFMT_A16B16G16R16 = 36, D3DFMT_A8P8 = 40, D3DFMT_P8 = 41,
  D3DFMT_L8 = 50, D3DFMT_A8L8 = 51, D3DFMT_A4L4 = 52, D3DFMT_V8U8 = 60,
  D3DFMT_L6V5U5 = 61, D3DFMT_X8L8V8U8 = 62, D3DFMT_Q8W8V8U8 = 63, D3DFMT_V16U16 = 64,
  D3DFMT_A2W10V10U10 = 67, D3DFMT_UYVY = MAKEFOURCC('U', 'Y', 'V', 'Y'), D3DFMT_YUY2 = MAKEFOURCC('Y', 'U', 'Y', '2'), D3DFMT_DXT1 = MAKEFOURCC('D', 'X', 'T', '1'),
  D3DFMT_DXT2 = MAKEFOURCC('D', 'X', 'T', '2'), D3DFMT_DXT3 = MAKEFOURCC('D', 'X', 'T', '3'), D3DFMT_DXT4 = MAKEFOURCC('D', 'X', 'T', '4'), D3DFMT_DXT5 = MAKEFOURCC('D', 'X', 'T', '5'),
  D3DFMT_MULTI2_ARGB8 = MAKEFOURCC('M', 'E', 'T', '1'), D3DFMT_G8R8_G8B8 = MAKEFOURCC('G', 'R', 'G', 'B'), D3DFMT_R8G8_B8G8 = MAKEFOURCC('R', 'G', 'B', 'G'), D3DFMT_D16_LOCKABLE = 70,
  D3DFMT_D32 = 71, D3DFMT_D15S1 = 73, D3DFMT_D24S8 = 75, D3DFMT_D24X8 = 77,
  D3DFMT_D24X4S4 = 79, D3DFMT_D16 = 80, D3DFMT_L16 = 81, D3DFMT_D32F_LOCKABLE = 82,
  D3DFMT_D24FS8 = 83, D3DFMT_D32_LOCKABLE = 84, D3DFMT_S8_LOCKABLE = 85, D3DFMT_VERTEXDATA = 100,
  D3DFMT_INDEX16 = 101, D3DFMT_INDEX32 = 102, D3DFMT_Q16W16V16U16 = 110, D3DFMT_R16F = 111,
  D3DFMT_G16R16F = 112, D3DFMT_A16B16G16R16F = 113, D3DFMT_R32F = 114, D3DFMT_G32R32F = 115,
  D3DFMT_A32B32G32R32F = 116, D3DFMT_CxV8U8 = 117, D3DFMT_FORCE_DWORD = 0xFFFFFFFF
}
 
enum  _D3DLIGHTTYPE {
  D3DLIGHT_POINT = 1, D3DLIGHT_SPOT = 2, D3DLIGHT_DIRECTIONAL = 3, D3DLIGHT_FORCE_DWORD = 0x7fffffff,
  D3DLIGHT_POINT = 1, D3DLIGHT_SPOT = 2, D3DLIGHT_DIRECTIONAL = 3, D3DLIGHT_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DMATERIALCOLORSOURCE {
  D3DMCS_MATERIAL = 0, D3DMCS_COLOR1 = 1, D3DMCS_COLOR2 = 2, D3DMCS_FORCE_DWORD = 0x7fffffff,
  D3DMCS_MATERIAL = 0, D3DMCS_COLOR1 = 1, D3DMCS_COLOR2 = 2, D3DMCS_FORCE_DWORD = 0x7fffffff,
  D3DMCS_MATERIAL = 0, D3DMCS_COLOR1 = 1, D3DMCS_COLOR2 = 2, D3DMCS_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DMULTISAMPLE_TYPE {
  D3DMULTISAMPLE_NONE = 0, D3DMULTISAMPLE_2_SAMPLES = 2, D3DMULTISAMPLE_3_SAMPLES = 3, D3DMULTISAMPLE_4_SAMPLES = 4,
  D3DMULTISAMPLE_5_SAMPLES = 5, D3DMULTISAMPLE_6_SAMPLES = 6, D3DMULTISAMPLE_7_SAMPLES = 7, D3DMULTISAMPLE_8_SAMPLES = 8,
  D3DMULTISAMPLE_9_SAMPLES = 9, D3DMULTISAMPLE_10_SAMPLES = 10, D3DMULTISAMPLE_11_SAMPLES = 11, D3DMULTISAMPLE_12_SAMPLES = 12,
  D3DMULTISAMPLE_13_SAMPLES = 13, D3DMULTISAMPLE_14_SAMPLES = 14, D3DMULTISAMPLE_15_SAMPLES = 15, D3DMULTISAMPLE_16_SAMPLES = 16,
  D3DMULTISAMPLE_FORCE_DWORD = 0x7fffffff, D3DMULTISAMPLE_NONE = 0, D3DMULTISAMPLE_NONMASKABLE = 1, D3DMULTISAMPLE_2_SAMPLES = 2,
  D3DMULTISAMPLE_3_SAMPLES = 3, D3DMULTISAMPLE_4_SAMPLES = 4, D3DMULTISAMPLE_5_SAMPLES = 5, D3DMULTISAMPLE_6_SAMPLES = 6,
  D3DMULTISAMPLE_7_SAMPLES = 7, D3DMULTISAMPLE_8_SAMPLES = 8, D3DMULTISAMPLE_9_SAMPLES = 9, D3DMULTISAMPLE_10_SAMPLES = 10,
  D3DMULTISAMPLE_11_SAMPLES = 11, D3DMULTISAMPLE_12_SAMPLES = 12, D3DMULTISAMPLE_13_SAMPLES = 13, D3DMULTISAMPLE_14_SAMPLES = 14,
  D3DMULTISAMPLE_15_SAMPLES = 15, D3DMULTISAMPLE_16_SAMPLES = 16, D3DMULTISAMPLE_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DPATCHEDGESTYLE {
  D3DPATCHEDGE_DISCRETE = 0, D3DPATCHEDGE_CONTINUOUS = 1, D3DPATCHEDGE_FORCE_DWORD = 0x7fffffff, D3DPATCHEDGE_DISCRETE = 0,
  D3DPATCHEDGE_CONTINUOUS = 1, D3DPATCHEDGE_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DPOOL {
  D3DPOOL_DEFAULT = 0, D3DPOOL_MANAGED = 1, D3DPOOL_SYSTEMMEM = 2, D3DPOOL_SCRATCH = 3,
  D3DPOOL_FORCE_DWORD = 0x7fffffff, D3DPOOL_DEFAULT = 0, D3DPOOL_MANAGED = 1, D3DPOOL_SYSTEMMEM = 2,
  D3DPOOL_SCRATCH = 3, D3DPOOL_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DPRIMITIVETYPE {
  D3DPT_POINTLIST = 1, D3DPT_LINELIST = 2, D3DPT_LINESTRIP = 3, D3DPT_TRIANGLELIST = 4,
  D3DPT_TRIANGLESTRIP = 5, D3DPT_TRIANGLEFAN = 6, D3DPT_FORCE_DWORD = 0x7fffffff, D3DPT_POINTLIST = 1,
  D3DPT_LINELIST = 2, D3DPT_LINESTRIP = 3, D3DPT_TRIANGLELIST = 4, D3DPT_TRIANGLESTRIP = 5,
  D3DPT_TRIANGLEFAN = 6, D3DPT_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DRENDERSTATETYPE {
  D3DRS_ZENABLE = 7, D3DRS_FILLMODE = 8, D3DRS_SHADEMODE = 9, D3DRS_LINEPATTERN = 10,
  D3DRS_ZWRITEENABLE = 14, D3DRS_ALPHATESTENABLE = 15, D3DRS_LASTPIXEL = 16, D3DRS_SRCBLEND = 19,
  D3DRS_DESTBLEND = 20, D3DRS_CULLMODE = 22, D3DRS_ZFUNC = 23, D3DRS_ALPHAREF = 24,
  D3DRS_ALPHAFUNC = 25, D3DRS_DITHERENABLE = 26, D3DRS_ALPHABLENDENABLE = 27, D3DRS_FOGENABLE = 28,
  D3DRS_SPECULARENABLE = 29, D3DRS_ZVISIBLE = 30, D3DRS_FOGCOLOR = 34, D3DRS_FOGTABLEMODE = 35,
  D3DRS_FOGSTART = 36, D3DRS_FOGEND = 37, D3DRS_FOGDENSITY = 38, D3DRS_EDGEANTIALIAS = 40,
  D3DRS_ZBIAS = 47, D3DRS_RANGEFOGENABLE = 48, D3DRS_STENCILENABLE = 52, D3DRS_STENCILFAIL = 53,
  D3DRS_STENCILZFAIL = 54, D3DRS_STENCILPASS = 55, D3DRS_STENCILFUNC = 56, D3DRS_STENCILREF = 57,
  D3DRS_STENCILMASK = 58, D3DRS_STENCILWRITEMASK = 59, D3DRS_TEXTUREFACTOR = 60, D3DRS_WRAP0 = 128,
  D3DRS_WRAP1 = 129, D3DRS_WRAP2 = 130, D3DRS_WRAP3 = 131, D3DRS_WRAP4 = 132,
  D3DRS_WRAP5 = 133, D3DRS_WRAP6 = 134, D3DRS_WRAP7 = 135, D3DRS_CLIPPING = 136,
  D3DRS_LIGHTING = 137, D3DRS_AMBIENT = 139, D3DRS_FOGVERTEXMODE = 140, D3DRS_COLORVERTEX = 141,
  D3DRS_LOCALVIEWER = 142, D3DRS_NORMALIZENORMALS = 143, D3DRS_DIFFUSEMATERIALSOURCE = 145, D3DRS_SPECULARMATERIALSOURCE = 146,
  D3DRS_AMBIENTMATERIALSOURCE = 147, D3DRS_EMISSIVEMATERIALSOURCE = 148, D3DRS_VERTEXBLEND = 151, D3DRS_CLIPPLANEENABLE = 152,
  D3DRS_SOFTWAREVERTEXPROCESSING = 153, D3DRS_POINTSIZE = 154, D3DRS_POINTSIZE_MIN = 155, D3DRS_POINTSPRITEENABLE = 156,
  D3DRS_POINTSCALEENABLE = 157, D3DRS_POINTSCALE_A = 158, D3DRS_POINTSCALE_B = 159, D3DRS_POINTSCALE_C = 160,
  D3DRS_MULTISAMPLEANTIALIAS = 161, D3DRS_MULTISAMPLEMASK = 162, D3DRS_PATCHEDGESTYLE = 163, D3DRS_PATCHSEGMENTS = 164,
  D3DRS_DEBUGMONITORTOKEN = 165, D3DRS_POINTSIZE_MAX = 166, D3DRS_INDEXEDVERTEXBLENDENABLE = 167, D3DRS_COLORWRITEENABLE = 168,
  D3DRS_TWEENFACTOR = 170, D3DRS_BLENDOP = 171, D3DRS_POSITIONORDER = 172, D3DRS_NORMALORDER = 173,
  D3DRS_FORCE_DWORD = 0x7fffffff, D3DRS_ZENABLE = 7, D3DRS_FILLMODE = 8, D3DRS_SHADEMODE = 9,
  D3DRS_ZWRITEENABLE = 14, D3DRS_ALPHATESTENABLE = 15, D3DRS_LASTPIXEL = 16, D3DRS_SRCBLEND = 19,
  D3DRS_DESTBLEND = 20, D3DRS_CULLMODE = 22, D3DRS_ZFUNC = 23, D3DRS_ALPHAREF = 24,
  D3DRS_ALPHAFUNC = 25, D3DRS_DITHERENABLE = 26, D3DRS_ALPHABLENDENABLE = 27, D3DRS_FOGENABLE = 28,
  D3DRS_SPECULARENABLE = 29, D3DRS_FOGCOLOR = 34, D3DRS_FOGTABLEMODE = 35, D3DRS_FOGSTART = 36,
  D3DRS_FOGEND = 37, D3DRS_FOGDENSITY = 38, D3DRS_RANGEFOGENABLE = 48, D3DRS_STENCILENABLE = 52,
  D3DRS_STENCILFAIL = 53, D3DRS_STENCILZFAIL = 54, D3DRS_STENCILPASS = 55, D3DRS_STENCILFUNC = 56,
  D3DRS_STENCILREF = 57, D3DRS_STENCILMASK = 58, D3DRS_STENCILWRITEMASK = 59, D3DRS_TEXTUREFACTOR = 60,
  D3DRS_WRAP0 = 128, D3DRS_WRAP1 = 129, D3DRS_WRAP2 = 130, D3DRS_WRAP3 = 131,
  D3DRS_WRAP4 = 132, D3DRS_WRAP5 = 133, D3DRS_WRAP6 = 134, D3DRS_WRAP7 = 135,
  D3DRS_CLIPPING = 136, D3DRS_LIGHTING = 137, D3DRS_AMBIENT = 139, D3DRS_FOGVERTEXMODE = 140,
  D3DRS_COLORVERTEX = 141, D3DRS_LOCALVIEWER = 142, D3DRS_NORMALIZENORMALS = 143, D3DRS_DIFFUSEMATERIALSOURCE = 145,
  D3DRS_SPECULARMATERIALSOURCE = 146, D3DRS_AMBIENTMATERIALSOURCE = 147, D3DRS_EMISSIVEMATERIALSOURCE = 148, D3DRS_VERTEXBLEND = 151,
  D3DRS_CLIPPLANEENABLE = 152, D3DRS_POINTSIZE = 154, D3DRS_POINTSIZE_MIN = 155, D3DRS_POINTSPRITEENABLE = 156,
  D3DRS_POINTSCALEENABLE = 157, D3DRS_POINTSCALE_A = 158, D3DRS_POINTSCALE_B = 159, D3DRS_POINTSCALE_C = 160,
  D3DRS_MULTISAMPLEANTIALIAS = 161, D3DRS_MULTISAMPLEMASK = 162, D3DRS_PATCHEDGESTYLE = 163, D3DRS_DEBUGMONITORTOKEN = 165,
  D3DRS_POINTSIZE_MAX = 166, D3DRS_INDEXEDVERTEXBLENDENABLE = 167, D3DRS_COLORWRITEENABLE = 168, D3DRS_TWEENFACTOR = 170,
  D3DRS_BLENDOP = 171, D3DRS_POSITIONDEGREE = 172, D3DRS_NORMALDEGREE = 173, D3DRS_SCISSORTESTENABLE = 174,
  D3DRS_SLOPESCALEDEPTHBIAS = 175, D3DRS_ANTIALIASEDLINEENABLE = 176, D3DRS_MINTESSELLATIONLEVEL = 178, D3DRS_MAXTESSELLATIONLEVEL = 179,
  D3DRS_ADAPTIVETESS_X = 180, D3DRS_ADAPTIVETESS_Y = 181, D3DRS_ADAPTIVETESS_Z = 182, D3DRS_ADAPTIVETESS_W = 183,
  D3DRS_ENABLEADAPTIVETESSELLATION = 184, D3DRS_TWOSIDEDSTENCILMODE = 185, D3DRS_CCW_STENCILFAIL = 186, D3DRS_CCW_STENCILZFAIL = 187,
  D3DRS_CCW_STENCILPASS = 188, D3DRS_CCW_STENCILFUNC = 189, D3DRS_COLORWRITEENABLE1 = 190, D3DRS_COLORWRITEENABLE2 = 191,
  D3DRS_COLORWRITEENABLE3 = 192, D3DRS_BLENDFACTOR = 193, D3DRS_SRGBWRITEENABLE = 194, D3DRS_DEPTHBIAS = 195,
  D3DRS_WRAP8 = 198, D3DRS_WRAP9 = 199, D3DRS_WRAP10 = 200, D3DRS_WRAP11 = 201,
  D3DRS_WRAP12 = 202, D3DRS_WRAP13 = 203, D3DRS_WRAP14 = 204, D3DRS_WRAP15 = 205,
  D3DRS_SEPARATEALPHABLENDENABLE = 206, D3DRS_SRCBLENDALPHA = 207, D3DRS_DESTBLENDALPHA = 208, D3DRS_BLENDOPALPHA = 209,
  D3DRS_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DRESOURCETYPE {
  D3DRTYPE_SURFACE = 1, D3DRTYPE_VOLUME = 2, D3DRTYPE_TEXTURE = 3, D3DRTYPE_VOLUMETEXTURE = 4,
  D3DRTYPE_CUBETEXTURE = 5, D3DRTYPE_VERTEXBUFFER = 6, D3DRTYPE_INDEXBUFFER = 7, D3DRTYPE_FORCE_DWORD = 0x7fffffff,
  D3DRTYPE_SURFACE = 1, D3DRTYPE_VOLUME = 2, D3DRTYPE_TEXTURE = 3, D3DRTYPE_VOLUMETEXTURE = 4,
  D3DRTYPE_CUBETEXTURE = 5, D3DRTYPE_VERTEXBUFFER = 6, D3DRTYPE_INDEXBUFFER = 7, D3DRTYPE_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DSHADEMODE {
  D3DSHADE_FLAT = 1, D3DSHADE_GOURAUD = 2, D3DSHADE_PHONG = 3, D3DSHADE_FORCE_DWORD = 0x7fffffff,
  D3DSHADE_FLAT = 1, D3DSHADE_GOURAUD = 2, D3DSHADE_PHONG = 3, D3DSHADE_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DSTATEBLOCKTYPE {
  D3DSBT_ALL = 1, D3DSBT_PIXELSTATE = 2, D3DSBT_VERTEXSTATE = 3, D3DSBT_FORCE_DWORD = 0xffffffff,
  D3DSBT_ALL = 1, D3DSBT_PIXELSTATE = 2, D3DSBT_VERTEXSTATE = 3, D3DSBT_FORCE_DWORD = 0xffffffff,
  D3DSBT_ALL = 1, D3DSBT_PIXELSTATE = 2, D3DSBT_VERTEXSTATE = 3, D3DSBT_FORCE_DWORD = 0xffffffff
}
 
enum  _D3DSTENCILOP {
  D3DSTENCILOP_KEEP = 1, D3DSTENCILOP_ZERO = 2, D3DSTENCILOP_REPLACE = 3, D3DSTENCILOP_INCRSAT = 4,
  D3DSTENCILOP_DECRSAT = 5, D3DSTENCILOP_INVERT = 6, D3DSTENCILOP_INCR = 7, D3DSTENCILOP_DECR = 8,
  D3DSTENCILOP_FORCE_DWORD = 0x7fffffff, D3DSTENCILOP_KEEP = 1, D3DSTENCILOP_ZERO = 2, D3DSTENCILOP_REPLACE = 3,
  D3DSTENCILOP_INCRSAT = 4, D3DSTENCILOP_DECRSAT = 5, D3DSTENCILOP_INVERT = 6, D3DSTENCILOP_INCR = 7,
  D3DSTENCILOP_DECR = 8, D3DSTENCILOP_FORCE_DWORD = 0x7fffffff, D3DSTENCILOP_KEEP = 1, D3DSTENCILOP_ZERO = 2,
  D3DSTENCILOP_REPLACE = 3, D3DSTENCILOP_INCRSAT = 4, D3DSTENCILOP_DECRSAT = 5, D3DSTENCILOP_INVERT = 6,
  D3DSTENCILOP_INCR = 7, D3DSTENCILOP_DECR = 8, D3DSTENCILOP_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DSWAPEFFECT {
  D3DSWAPEFFECT_DISCARD = 1, D3DSWAPEFFECT_FLIP = 2, D3DSWAPEFFECT_COPY = 3, D3DSWAPEFFECT_COPY_VSYNC = 4,
  D3DSWAPEFFECT_FORCE_DWORD = 0xFFFFFFFF, D3DSWAPEFFECT_DISCARD = 1, D3DSWAPEFFECT_FLIP = 2, D3DSWAPEFFECT_COPY = 3,
  D3DSWAPEFFECT_OVERLAY = 4, D3DSWAPEFFECT_FLIPEX = 5, D3DSWAPEFFECT_FORCE_DWORD = 0xFFFFFFFF
}
 
enum  _D3DTEXTUREADDRESS {
  D3DTADDRESS_WRAP = 1, D3DTADDRESS_MIRROR = 2, D3DTADDRESS_CLAMP = 3, D3DTADDRESS_BORDER = 4,
  D3DTADDRESS_MIRRORONCE = 5, D3DTADDRESS_FORCE_DWORD = 0x7fffffff, D3DTADDRESS_WRAP = 1, D3DTADDRESS_MIRROR = 2,
  D3DTADDRESS_CLAMP = 3, D3DTADDRESS_BORDER = 4, D3DTADDRESS_MIRRORONCE = 5, D3DTADDRESS_FORCE_DWORD = 0x7fffffff,
  D3DTADDRESS_WRAP = 1, D3DTADDRESS_MIRROR = 2, D3DTADDRESS_CLAMP = 3, D3DTADDRESS_BORDER = 4,
  D3DTADDRESS_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DTEXTUREFILTERTYPE {
  D3DTEXF_NONE = 0, D3DTEXF_POINT = 1, D3DTEXF_LINEAR = 2, D3DTEXF_ANISOTROPIC = 3,
  D3DTEXF_FLATCUBIC = 4, D3DTEXF_GAUSSIANCUBIC = 5, D3DTEXF_FORCE_DWORD = 0x7fffffff, D3DTEXF_NONE = 0,
  D3DTEXF_POINT = 1, D3DTEXF_LINEAR = 2, D3DTEXF_ANISOTROPIC = 3, D3DTEXF_FLATCUBIC = 4,
  D3DTEXF_GAUSSIANCUBIC = 5, D3DTEXF_PYRAMIDALQUAD = 6, D3DTEXF_GAUSSIANQUAD = 7, D3DTEXF_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DTEXTUREOP {
  D3DTOP_DISABLE = 1, D3DTOP_SELECTARG1 = 2, D3DTOP_SELECTARG2 = 3, D3DTOP_MODULATE = 4,
  D3DTOP_MODULATE2X = 5, D3DTOP_MODULATE4X = 6, D3DTOP_ADD = 7, D3DTOP_ADDSIGNED = 8,
  D3DTOP_ADDSIGNED2X = 9, D3DTOP_SUBTRACT = 10, D3DTOP_ADDSMOOTH = 11, D3DTOP_BLENDDIFFUSEALPHA = 12,
  D3DTOP_BLENDTEXTUREALPHA = 13, D3DTOP_BLENDFACTORALPHA = 14, D3DTOP_BLENDTEXTUREALPHAPM = 15, D3DTOP_BLENDCURRENTALPHA = 16,
  D3DTOP_PREMODULATE = 17, D3DTOP_MODULATEALPHA_ADDCOLOR = 18, D3DTOP_MODULATECOLOR_ADDALPHA = 19, D3DTOP_MODULATEINVALPHA_ADDCOLOR = 20,
  D3DTOP_MODULATEINVCOLOR_ADDALPHA = 21, D3DTOP_BUMPENVMAP = 22, D3DTOP_BUMPENVMAPLUMINANCE = 23, D3DTOP_DOTPRODUCT3 = 24,
  D3DTOP_MULTIPLYADD = 25, D3DTOP_LERP = 26, D3DTOP_FORCE_DWORD = 0x7fffffff, D3DTOP_DISABLE = 1,
  D3DTOP_SELECTARG1 = 2, D3DTOP_SELECTARG2 = 3, D3DTOP_MODULATE = 4, D3DTOP_MODULATE2X = 5,
  D3DTOP_MODULATE4X = 6, D3DTOP_ADD = 7, D3DTOP_ADDSIGNED = 8, D3DTOP_ADDSIGNED2X = 9,
  D3DTOP_SUBTRACT = 10, D3DTOP_ADDSMOOTH = 11, D3DTOP_BLENDDIFFUSEALPHA = 12, D3DTOP_BLENDTEXTUREALPHA = 13,
  D3DTOP_BLENDFACTORALPHA = 14, D3DTOP_BLENDTEXTUREALPHAPM = 15, D3DTOP_BLENDCURRENTALPHA = 16, D3DTOP_PREMODULATE = 17,
  D3DTOP_MODULATEALPHA_ADDCOLOR = 18, D3DTOP_MODULATECOLOR_ADDALPHA = 19, D3DTOP_MODULATEINVALPHA_ADDCOLOR = 20, D3DTOP_MODULATEINVCOLOR_ADDALPHA = 21,
  D3DTOP_BUMPENVMAP = 22, D3DTOP_BUMPENVMAPLUMINANCE = 23, D3DTOP_DOTPRODUCT3 = 24, D3DTOP_MULTIPLYADD = 25,
  D3DTOP_LERP = 26, D3DTOP_FORCE_DWORD = 0x7fffffff, D3DTOP_DISABLE = 1, D3DTOP_SELECTARG1 = 2,
  D3DTOP_SELECTARG2 = 3, D3DTOP_MODULATE = 4, D3DTOP_MODULATE2X = 5, D3DTOP_MODULATE4X = 6,
  D3DTOP_ADD = 7, D3DTOP_ADDSIGNED = 8, D3DTOP_ADDSIGNED2X = 9, D3DTOP_SUBTRACT = 10,
  D3DTOP_ADDSMOOTH = 11, D3DTOP_BLENDDIFFUSEALPHA = 12, D3DTOP_BLENDTEXTUREALPHA = 13, D3DTOP_BLENDFACTORALPHA = 14,
  D3DTOP_BLENDTEXTUREALPHAPM = 15, D3DTOP_BLENDCURRENTALPHA = 16, D3DTOP_PREMODULATE = 17, D3DTOP_MODULATEALPHA_ADDCOLOR = 18,
  D3DTOP_MODULATECOLOR_ADDALPHA = 19, D3DTOP_MODULATEINVALPHA_ADDCOLOR = 20, D3DTOP_MODULATEINVCOLOR_ADDALPHA = 21, D3DTOP_BUMPENVMAP = 22,
  D3DTOP_BUMPENVMAPLUMINANCE = 23, D3DTOP_DOTPRODUCT3 = 24, D3DTOP_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DTEXTURESTAGESTATETYPE {
  D3DTSS_COLOROP = 1, D3DTSS_COLORARG1 = 2, D3DTSS_COLORARG2 = 3, D3DTSS_ALPHAOP = 4,
  D3DTSS_ALPHAARG1 = 5, D3DTSS_ALPHAARG2 = 6, D3DTSS_BUMPENVMAT00 = 7, D3DTSS_BUMPENVMAT01 = 8,
  D3DTSS_BUMPENVMAT10 = 9, D3DTSS_BUMPENVMAT11 = 10, D3DTSS_TEXCOORDINDEX = 11, D3DTSS_ADDRESSU = 13,
  D3DTSS_ADDRESSV = 14, D3DTSS_BORDERCOLOR = 15, D3DTSS_MAGFILTER = 16, D3DTSS_MINFILTER = 17,
  D3DTSS_MIPFILTER = 18, D3DTSS_MIPMAPLODBIAS = 19, D3DTSS_MAXMIPLEVEL = 20, D3DTSS_MAXANISOTROPY = 21,
  D3DTSS_BUMPENVLSCALE = 22, D3DTSS_BUMPENVLOFFSET = 23, D3DTSS_TEXTURETRANSFORMFLAGS = 24, D3DTSS_ADDRESSW = 25,
  D3DTSS_COLORARG0 = 26, D3DTSS_ALPHAARG0 = 27, D3DTSS_RESULTARG = 28, D3DTSS_FORCE_DWORD = 0x7fffffff,
  D3DTSS_COLOROP = 1, D3DTSS_COLORARG1 = 2, D3DTSS_COLORARG2 = 3, D3DTSS_ALPHAOP = 4,
  D3DTSS_ALPHAARG1 = 5, D3DTSS_ALPHAARG2 = 6, D3DTSS_BUMPENVMAT00 = 7, D3DTSS_BUMPENVMAT01 = 8,
  D3DTSS_BUMPENVMAT10 = 9, D3DTSS_BUMPENVMAT11 = 10, D3DTSS_TEXCOORDINDEX = 11, D3DTSS_BUMPENVLSCALE = 22,
  D3DTSS_BUMPENVLOFFSET = 23, D3DTSS_TEXTURETRANSFORMFLAGS = 24, D3DTSS_COLORARG0 = 26, D3DTSS_ALPHAARG0 = 27,
  D3DTSS_RESULTARG = 28, D3DTSS_CONSTANT = 32, D3DTSS_FORCE_DWORD = 0x7fffffff, D3DTSS_COLOROP = 1,
  D3DTSS_COLORARG1 = 2, D3DTSS_COLORARG2 = 3, D3DTSS_ALPHAOP = 4, D3DTSS_ALPHAARG1 = 5,
  D3DTSS_ALPHAARG2 = 6, D3DTSS_BUMPENVMAT00 = 7, D3DTSS_BUMPENVMAT01 = 8, D3DTSS_BUMPENVMAT10 = 9,
  D3DTSS_BUMPENVMAT11 = 10, D3DTSS_TEXCOORDINDEX = 11, D3DTSS_ADDRESS = 12, D3DTSS_ADDRESSU = 13,
  D3DTSS_ADDRESSV = 14, D3DTSS_BORDERCOLOR = 15, D3DTSS_MAGFILTER = 16, D3DTSS_MINFILTER = 17,
  D3DTSS_MIPFILTER = 18, D3DTSS_MIPMAPLODBIAS = 19, D3DTSS_MAXMIPLEVEL = 20, D3DTSS_MAXANISOTROPY = 21,
  D3DTSS_BUMPENVLSCALE = 22, D3DTSS_BUMPENVLOFFSET = 23, D3DTSS_TEXTURETRANSFORMFLAGS = 24, D3DTSS_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DTEXTURETRANSFORMFLAGS {
  D3DTTFF_DISABLE = 0, D3DTTFF_COUNT1 = 1, D3DTTFF_COUNT2 = 2, D3DTTFF_COUNT3 = 3,
  D3DTTFF_COUNT4 = 4, D3DTTFF_PROJECTED = 256, D3DTTFF_FORCE_DWORD = 0x7fffffff, D3DTTFF_DISABLE = 0,
  D3DTTFF_COUNT1 = 1, D3DTTFF_COUNT2 = 2, D3DTTFF_COUNT3 = 3, D3DTTFF_COUNT4 = 4,
  D3DTTFF_PROJECTED = 256, D3DTTFF_FORCE_DWORD = 0x7fffffff, D3DTTFF_DISABLE = 0, D3DTTFF_COUNT1 = 1,
  D3DTTFF_COUNT2 = 2, D3DTTFF_COUNT3 = 3, D3DTTFF_COUNT4 = 4, D3DTTFF_PROJECTED = 256,
  D3DTTFF_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DTRANSFORMSTATETYPE {
  D3DTS_VIEW = 2, D3DTS_PROJECTION = 3, D3DTS_TEXTURE0 = 16, D3DTS_TEXTURE1 = 17,
  D3DTS_TEXTURE2 = 18, D3DTS_TEXTURE3 = 19, D3DTS_TEXTURE4 = 20, D3DTS_TEXTURE5 = 21,
  D3DTS_TEXTURE6 = 22, D3DTS_TEXTURE7 = 23, D3DTS_FORCE_DWORD = 0x7fffffff, D3DTS_VIEW = 2,
  D3DTS_PROJECTION = 3, D3DTS_TEXTURE0 = 16, D3DTS_TEXTURE1 = 17, D3DTS_TEXTURE2 = 18,
  D3DTS_TEXTURE3 = 19, D3DTS_TEXTURE4 = 20, D3DTS_TEXTURE5 = 21, D3DTS_TEXTURE6 = 22,
  D3DTS_TEXTURE7 = 23, D3DTS_FORCE_DWORD = 0x7fffffff, D3DTRANSFORMSTATE_WORLD = 1, D3DTRANSFORMSTATE_VIEW = 2,
  D3DTRANSFORMSTATE_PROJECTION = 3, D3DTRANSFORMSTATE_WORLD1 = 4, D3DTRANSFORMSTATE_WORLD2 = 5, D3DTRANSFORMSTATE_WORLD3 = 6,
  D3DTRANSFORMSTATE_TEXTURE0 = 16, D3DTRANSFORMSTATE_TEXTURE1 = 17, D3DTRANSFORMSTATE_TEXTURE2 = 18, D3DTRANSFORMSTATE_TEXTURE3 = 19,
  D3DTRANSFORMSTATE_TEXTURE4 = 20, D3DTRANSFORMSTATE_TEXTURE5 = 21, D3DTRANSFORMSTATE_TEXTURE6 = 22, D3DTRANSFORMSTATE_TEXTURE7 = 23,
  D3DTRANSFORMSTATE_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DVERTEXBLENDFLAGS {
  D3DVBF_DISABLE = 0, D3DVBF_1WEIGHTS = 1, D3DVBF_2WEIGHTS = 2, D3DVBF_3WEIGHTS = 3,
  D3DVBF_TWEENING = 255, D3DVBF_0WEIGHTS = 256, D3DVBF_DISABLE = 0, D3DVBF_1WEIGHTS = 1,
  D3DVBF_2WEIGHTS = 2, D3DVBF_3WEIGHTS = 3, D3DVBF_TWEENING = 255, D3DVBF_0WEIGHTS = 256,
  D3DVBLEND_DISABLE = 0, D3DVBLEND_1WEIGHT = 1, D3DVBLEND_2WEIGHTS = 2, D3DVBLEND_3WEIGHTS = 3
}
 
enum  _D3DZBUFFERTYPE {
  D3DZB_FALSE = 0, D3DZB_TRUE = 1, D3DZB_USEW = 2, D3DZB_FORCE_DWORD = 0x7fffffff,
  D3DZB_FALSE = 0, D3DZB_TRUE = 1, D3DZB_USEW = 2, D3DZB_FORCE_DWORD = 0x7fffffff,
  D3DZB_FALSE = 0, D3DZB_TRUE = 1, D3DZB_USEW = 2, D3DZB_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DSAMPLERSTATETYPE {
  D3DSAMP_ADDRESSU = 1, D3DSAMP_ADDRESSV = 2, D3DSAMP_ADDRESSW = 3, D3DSAMP_BORDERCOLOR = 4,
  D3DSAMP_MAGFILTER = 5, D3DSAMP_MINFILTER = 6, D3DSAMP_MIPFILTER = 7, D3DSAMP_MIPMAPLODBIAS = 8,
  D3DSAMP_MAXMIPLEVEL = 9, D3DSAMP_MAXANISOTROPY = 10, D3DSAMP_SRGBTEXTURE = 11, D3DSAMP_ELEMENTINDEX = 12,
  D3DSAMP_DMAPOFFSET = 13, D3DSAMP_FORCE_DWORD = 0x7fffffff
}
 
enum  D3DSCANLINEORDERING { D3DSCANLINEORDERING_UNKNOWN, D3DSCANLINEORDERING_PROGRESSIVE, D3DSCANLINEORDERING_INTERLACED }
 
enum  D3DDISPLAYROTATION { D3DDISPLAYROTATION_IDENTITY = 1, D3DDISPLAYROTATION_90, D3DDISPLAYROTATION_180, D3DDISPLAYROTATION_270 }
 
enum  _D3DCOMPOSERECTSOP {
  D3DCOMPOSERECTS_COPY = 1, D3DCOMPOSERECTS_OR, D3DCOMPOSERECTS_AND, D3DCOMPOSERECTS_NEG,
  D3DCOMPOSERECTS_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DSHADER_COMPARISON {
  D3DSPC_RESERVED0 = 0, D3DSPC_GT, D3DSPC_EQ, D3DSPC_GE,
  D3DSPC_LT, D3DSPC_NE, D3DSPC_LE, D3DSPC_RESERVED1
}
 

Macro Definition Documentation

◆ D3D_MAX_SIMULTANEOUS_RENDERTARGETS

#define D3D_MAX_SIMULTANEOUS_RENDERTARGETS   4

Definition at line 184 of file d3d9types.h.

◆ D3DCLEAR_STENCIL

#define D3DCLEAR_STENCIL   0x00000004L

Definition at line 33 of file d3d9types.h.

◆ D3DCLEAR_TARGET

#define D3DCLEAR_TARGET   0x00000001L

Definition at line 31 of file d3d9types.h.

◆ D3DCLEAR_ZBUFFER

#define D3DCLEAR_ZBUFFER   0x00000002L

Definition at line 32 of file d3d9types.h.

◆ D3DCLIPPLANE0 [1/2]

#define D3DCLIPPLANE0   (1 << 0)

Definition at line 80 of file d3d9types.h.

◆ D3DCLIPPLANE0 [2/2]

#define D3DCLIPPLANE0   (1 << 0)

Definition at line 80 of file d3d9types.h.

◆ D3DCLIPPLANE1 [1/2]

#define D3DCLIPPLANE1   (1 << 1)

Definition at line 81 of file d3d9types.h.

◆ D3DCLIPPLANE1 [2/2]

#define D3DCLIPPLANE1   (1 << 1)

Definition at line 81 of file d3d9types.h.

◆ D3DCLIPPLANE2 [1/2]

#define D3DCLIPPLANE2   (1 << 2)

Definition at line 82 of file d3d9types.h.

◆ D3DCLIPPLANE2 [2/2]

#define D3DCLIPPLANE2   (1 << 2)

Definition at line 82 of file d3d9types.h.

◆ D3DCLIPPLANE3 [1/2]

#define D3DCLIPPLANE3   (1 << 3)

Definition at line 83 of file d3d9types.h.

◆ D3DCLIPPLANE3 [2/2]

#define D3DCLIPPLANE3   (1 << 3)

Definition at line 83 of file d3d9types.h.

◆ D3DCLIPPLANE4 [1/2]

#define D3DCLIPPLANE4   (1 << 4)

Definition at line 84 of file d3d9types.h.

◆ D3DCLIPPLANE4 [2/2]

#define D3DCLIPPLANE4   (1 << 4)

Definition at line 84 of file d3d9types.h.

◆ D3DCLIPPLANE5 [1/2]

#define D3DCLIPPLANE5   (1 << 5)

Definition at line 85 of file d3d9types.h.

◆ D3DCLIPPLANE5 [2/2]

#define D3DCLIPPLANE5   (1 << 5)

Definition at line 85 of file d3d9types.h.

◆ D3DCOLOR_ARGB

#define D3DCOLOR_ARGB (   a,
  r,
  g,
  b 
)    ((D3DCOLOR)((((a)&0xffu)<<24)|(((r)&0xffu)<<16)|(((g)&0xffu)<<8)|((b)&0xffu)))

Definition at line 42 of file d3d9types.h.

◆ D3DCOLOR_AYUV

#define D3DCOLOR_AYUV (   a,
  y,
  u,
  v 
)    D3DCOLOR_ARGB(a,y,u,v)

Definition at line 47 of file d3d9types.h.

◆ D3DCOLOR_COLORVALUE

#define D3DCOLOR_COLORVALUE (   r,
  g,
  b,
  a 
)    D3DCOLOR_RGBA((DWORD)((r)*255.f),(DWORD)((g)*255.f),(DWORD)((b)*255.f),(DWORD)((a)*255.f))

Definition at line 43 of file d3d9types.h.

◆ D3DCOLOR_DEFINED

#define D3DCOLOR_DEFINED

Definition at line 1222 of file d3d9types.h.

◆ D3DCOLOR_RGBA

#define D3DCOLOR_RGBA (   r,
  g,
  b,
  a 
)    D3DCOLOR_ARGB(a,r,g,b)

Definition at line 44 of file d3d9types.h.

◆ D3DCOLOR_XRGB

#define D3DCOLOR_XRGB (   r,
  g,
  b 
)    D3DCOLOR_ARGB(0xff,r,g,b)

Definition at line 45 of file d3d9types.h.

◆ D3DCOLOR_XYUV

#define D3DCOLOR_XYUV (   y,
  u,
  v 
)    D3DCOLOR_ARGB(0xFF,y,u,v)

Definition at line 46 of file d3d9types.h.

◆ D3DCOLORVALUE_DEFINED

#define D3DCOLORVALUE_DEFINED

Definition at line 1265 of file d3d9types.h.

◆ D3DCOLORWRITEENABLE_ALPHA

#define D3DCOLORWRITEENABLE_ALPHA   (1L<<3)

Definition at line 177 of file d3d9types.h.

◆ D3DCOLORWRITEENABLE_BLUE

#define D3DCOLORWRITEENABLE_BLUE   (1L<<2)

Definition at line 176 of file d3d9types.h.

◆ D3DCOLORWRITEENABLE_GREEN

#define D3DCOLORWRITEENABLE_GREEN   (1L<<1)

Definition at line 175 of file d3d9types.h.

◆ D3DCOLORWRITEENABLE_RED

#define D3DCOLORWRITEENABLE_RED   (1L<<0)

Definition at line 174 of file d3d9types.h.

◆ D3DCS_ALL

#define D3DCS_ALL   0xFFFL

Definition at line 61 of file d3d9types.h.

◆ D3DCS_BACK

#define D3DCS_BACK   0x020L

Definition at line 54 of file d3d9types.h.

◆ D3DCS_BOTTOM

#define D3DCS_BOTTOM   0x008L

Definition at line 52 of file d3d9types.h.

◆ D3DCS_FRONT

#define D3DCS_FRONT   0x010L

Definition at line 53 of file d3d9types.h.

◆ D3DCS_LEFT

#define D3DCS_LEFT   0x001L

Definition at line 49 of file d3d9types.h.

◆ D3DCS_PLANE0

#define D3DCS_PLANE0   0x040L

Definition at line 55 of file d3d9types.h.

◆ D3DCS_PLANE1

#define D3DCS_PLANE1   0x080L

Definition at line 56 of file d3d9types.h.

◆ D3DCS_PLANE2

#define D3DCS_PLANE2   0x100L

Definition at line 57 of file d3d9types.h.

◆ D3DCS_PLANE3

#define D3DCS_PLANE3   0x200L

Definition at line 58 of file d3d9types.h.

◆ D3DCS_PLANE4

#define D3DCS_PLANE4   0x400L

Definition at line 59 of file d3d9types.h.

◆ D3DCS_PLANE5

#define D3DCS_PLANE5   0x800L

Definition at line 60 of file d3d9types.h.

◆ D3DCS_RIGHT

#define D3DCS_RIGHT   0x002L

Definition at line 50 of file d3d9types.h.

◆ D3DCS_TOP

#define D3DCS_TOP   0x004L

Definition at line 51 of file d3d9types.h.

◆ D3DDECL_END

#define D3DDECL_END ( )    {0xFF,0,D3DDECLTYPE_UNUSED,0,0,0}

Definition at line 311 of file d3d9types.h.

◆ D3DDMAPSAMPLER

#define D3DDMAPSAMPLER   256

Definition at line 192 of file d3d9types.h.

◆ D3DDP_MAXTEXCOORD [1/2]

#define D3DDP_MAXTEXCOORD   8

Maximum number of supported texture coordinates sets operation

Definition at line 349 of file d3d9types.h.

◆ D3DDP_MAXTEXCOORD [2/2]

#define D3DDP_MAXTEXCOORD   8

Maximum number of supported texture coordinates sets operation

Definition at line 349 of file d3d9types.h.

◆ D3DFVF_DIFFUSE

#define D3DFVF_DIFFUSE   0x0040

Definition at line 146 of file d3d9types.h.

◆ D3DFVF_LASTBETA_D3DCOLOR

#define D3DFVF_LASTBETA_D3DCOLOR   0x8000

Definition at line 160 of file d3d9types.h.

◆ D3DFVF_LASTBETA_UBYTE4

#define D3DFVF_LASTBETA_UBYTE4   0x1000

Definition at line 159 of file d3d9types.h.

◆ D3DFVF_NORMAL

#define D3DFVF_NORMAL   0x0010

Definition at line 144 of file d3d9types.h.

◆ D3DFVF_POSITION_MASK

#define D3DFVF_POSITION_MASK   0x400E

Definition at line 135 of file d3d9types.h.

◆ D3DFVF_PSIZE

#define D3DFVF_PSIZE   0x0020

Definition at line 145 of file d3d9types.h.

◆ D3DFVF_RESERVED0

#define D3DFVF_RESERVED0   0x0001

Definition at line 134 of file d3d9types.h.

◆ D3DFVF_RESERVED2

#define D3DFVF_RESERVED2   0x6000

Definition at line 161 of file d3d9types.h.

◆ D3DFVF_SPECULAR

#define D3DFVF_SPECULAR   0x0080

Definition at line 147 of file d3d9types.h.

◆ D3DFVF_TEX0

#define D3DFVF_TEX0   0x0000

Definition at line 150 of file d3d9types.h.

◆ D3DFVF_TEX1

#define D3DFVF_TEX1   0x0100

Definition at line 151 of file d3d9types.h.

◆ D3DFVF_TEX2

#define D3DFVF_TEX2   0x0200

Definition at line 152 of file d3d9types.h.

◆ D3DFVF_TEX3

#define D3DFVF_TEX3   0x0300

Definition at line 153 of file d3d9types.h.

◆ D3DFVF_TEX4

#define D3DFVF_TEX4   0x0400

Definition at line 154 of file d3d9types.h.

◆ D3DFVF_TEX5

#define D3DFVF_TEX5   0x0500

Definition at line 155 of file d3d9types.h.

◆ D3DFVF_TEX6

#define D3DFVF_TEX6   0x0600

Definition at line 156 of file d3d9types.h.

◆ D3DFVF_TEX7

#define D3DFVF_TEX7   0x0700

Definition at line 157 of file d3d9types.h.

◆ D3DFVF_TEX8

#define D3DFVF_TEX8   0x0800

Definition at line 158 of file d3d9types.h.

◆ D3DFVF_TEXCOORDSIZE1

#define D3DFVF_TEXCOORDSIZE1 (   CoordIndex)    (D3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16))

Definition at line 67 of file d3d9types.h.

◆ D3DFVF_TEXCOORDSIZE2

#define D3DFVF_TEXCOORDSIZE2 (   CoordIndex)    (D3DFVF_TEXTUREFORMAT2)

Definition at line 68 of file d3d9types.h.

◆ D3DFVF_TEXCOORDSIZE3

#define D3DFVF_TEXCOORDSIZE3 (   CoordIndex)    (D3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16))

Definition at line 69 of file d3d9types.h.

◆ D3DFVF_TEXCOORDSIZE4

#define D3DFVF_TEXCOORDSIZE4 (   CoordIndex)    (D3DFVF_TEXTUREFORMAT4 << (CoordIndex*2 + 16))

Definition at line 70 of file d3d9types.h.

◆ D3DFVF_TEXCOUNT_MASK

#define D3DFVF_TEXCOUNT_MASK   0x0f00

Definition at line 148 of file d3d9types.h.

◆ D3DFVF_TEXCOUNT_SHIFT

#define D3DFVF_TEXCOUNT_SHIFT   8

Definition at line 149 of file d3d9types.h.

◆ D3DFVF_TEXTUREFORMAT1

#define D3DFVF_TEXTUREFORMAT1   3u

Definition at line 63 of file d3d9types.h.

◆ D3DFVF_TEXTUREFORMAT2

#define D3DFVF_TEXTUREFORMAT2   0u

Definition at line 64 of file d3d9types.h.

◆ D3DFVF_TEXTUREFORMAT3

#define D3DFVF_TEXTUREFORMAT3   1u

Definition at line 65 of file d3d9types.h.

◆ D3DFVF_TEXTUREFORMAT4

#define D3DFVF_TEXTUREFORMAT4   2u

Definition at line 66 of file d3d9types.h.

◆ D3DFVF_XYZ

#define D3DFVF_XYZ   0x0002

Definition at line 136 of file d3d9types.h.

◆ D3DFVF_XYZB1

#define D3DFVF_XYZB1   0x0006

Definition at line 138 of file d3d9types.h.

◆ D3DFVF_XYZB2

#define D3DFVF_XYZB2   0x0008

Definition at line 139 of file d3d9types.h.

◆ D3DFVF_XYZB3

#define D3DFVF_XYZB3   0x000a

Definition at line 140 of file d3d9types.h.

◆ D3DFVF_XYZB4

#define D3DFVF_XYZB4   0x000c

Definition at line 141 of file d3d9types.h.

◆ D3DFVF_XYZB5

#define D3DFVF_XYZB5   0x000e

Definition at line 142 of file d3d9types.h.

◆ D3DFVF_XYZRHW

#define D3DFVF_XYZRHW   0x0004

Definition at line 137 of file d3d9types.h.

◆ D3DFVF_XYZW

#define D3DFVF_XYZW   0x4002

Definition at line 143 of file d3d9types.h.

◆ D3DGETDATA_FLUSH

#define D3DGETDATA_FLUSH   (1 << 0)

Definition at line 308 of file d3d9types.h.

◆ D3DISSUE_BEGIN

#define D3DISSUE_BEGIN   (1 << 1)

Definition at line 306 of file d3d9types.h.

◆ D3DISSUE_END

#define D3DISSUE_END   (1 << 0)

Definition at line 307 of file d3d9types.h.

◆ D3DLOCK_DISCARD

#define D3DLOCK_DISCARD   0x2000

Definition at line 75 of file d3d9types.h.

◆ D3DLOCK_DONOTWAIT

#define D3DLOCK_DONOTWAIT   0x4000

Definition at line 76 of file d3d9types.h.

◆ D3DLOCK_NO_DIRTY_UPDATE

#define D3DLOCK_NO_DIRTY_UPDATE   0x8000

Definition at line 77 of file d3d9types.h.

◆ D3DLOCK_NOOVERWRITE

#define D3DLOCK_NOOVERWRITE   0x1000

Definition at line 74 of file d3d9types.h.

◆ D3DLOCK_NOSYSLOCK

#define D3DLOCK_NOSYSLOCK   0x0800

Definition at line 73 of file d3d9types.h.

◆ D3DLOCK_READONLY

#define D3DLOCK_READONLY   0x0010

Definition at line 72 of file d3d9types.h.

◆ D3DMATRIX_DEFINED

#define D3DMATRIX_DEFINED

Definition at line 1426 of file d3d9types.h.

◆ D3DMAXDECLLENGTH

#define D3DMAXDECLLENGTH   18

Definition at line 238 of file d3d9types.h.

◆ D3DMAXDECLMETHOD

#define D3DMAXDECLMETHOD   D3DDECLMETHOD_LOOKUPPRESAMPLED

Definition at line 252 of file d3d9types.h.

◆ D3DMAXDECLTYPE

#define D3DMAXDECLTYPE   D3DDECLTYPE_UNUSED

Definition at line 276 of file d3d9types.h.

◆ D3DMAXDECLUSAGE

#define D3DMAXDECLUSAGE   D3DDECLUSAGE_SAMPLE

Definition at line 236 of file d3d9types.h.

◆ D3DMAXDECLUSAGE_DX8

#define D3DMAXDECLUSAGE_DX8   D3DDECLUSAGE_TEXCOORD

Definition at line 239 of file d3d9types.h.

◆ D3DMAXDECLUSAGEINDEX

#define D3DMAXDECLUSAGEINDEX   15

Definition at line 237 of file d3d9types.h.

◆ D3DMAXUSERCLIPPLANES

#define D3DMAXUSERCLIPPLANES   32

Definition at line 79 of file d3d9types.h.

◆ D3DPRESENT_RATE_DEFAULT

#define D3DPRESENT_RATE_DEFAULT   0x00000000

Definition at line 213 of file d3d9types.h.

◆ D3DPRESENTFLAG_DEVICECLIP

#define D3DPRESENTFLAG_DEVICECLIP   0x00000004 /* Clip the window blited into the client area 2k + xp only */

Definition at line 208 of file d3d9types.h.

◆ D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL

#define D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL   0x00000002 /* Discard Z buffer */

Definition at line 207 of file d3d9types.h.

◆ D3DPRESENTFLAG_LOCKABLE_BACKBUFFER

#define D3DPRESENTFLAG_LOCKABLE_BACKBUFFER   0x00000001 /* Create a lockable backbuffer */

Definition at line 206 of file d3d9types.h.

◆ D3DPRESENTFLAG_NOAUTOROTATE

#define D3DPRESENTFLAG_NOAUTOROTATE   0x00000020 /* d3d9ex, ignore display rotation */

Definition at line 210 of file d3d9types.h.

◆ D3DPRESENTFLAG_UNPRUNEDMODE

#define D3DPRESENTFLAG_UNPRUNEDMODE   0x00000040 /* d3d9ex, specify invalid display modes */

Definition at line 211 of file d3d9types.h.

◆ D3DPRESENTFLAG_VIDEO

#define D3DPRESENTFLAG_VIDEO   0x00000010 /* backbuffer 'may' contain video data */

Definition at line 209 of file d3d9types.h.

◆ D3DPS_END

#define D3DPS_END ( )    0x0000FFFF

Definition at line 635 of file d3d9types.h.

◆ D3DPS_VERSION

#define D3DPS_VERSION (   major,
  minor 
)    (0xFFFF0000 | ((major) << 8) | (minor))

Definition at line 624 of file d3d9types.h.

◆ D3DPV_DONOTCOPYDATA

#define D3DPV_DONOTCOPYDATA   (1 << 0)

Definition at line 179 of file d3d9types.h.

◆ D3DRECT_DEFINED

#define D3DRECT_DEFINED

Definition at line 1467 of file d3d9types.h.

◆ D3DRENDERSTATE_WRAPBIAS

#define D3DRENDERSTATE_WRAPBIAS   128UL

Definition at line 88 of file d3d9types.h.

◆ D3DRTYPECOUNT

#define D3DRTYPECOUNT   (D3DRTYPE_INDEXBUFFER+1)

Definition at line 1039 of file d3d9types.h.

◆ D3DSHADER_ADDRESSMODE_MASK

#define D3DSHADER_ADDRESSMODE_MASK   (1 << D3DSHADER_ADDRESSMODE_SHIFT)

Definition at line 561 of file d3d9types.h.

◆ D3DSHADER_ADDRESSMODE_SHIFT

#define D3DSHADER_ADDRESSMODE_SHIFT   13

Definition at line 560 of file d3d9types.h.

◆ D3DSHADER_COMMENT

#define D3DSHADER_COMMENT (   commentSize)    ((((commentSize) << D3DSI_COMMENTSIZE_SHIFT) & D3DSI_COMMENTSIZE_MASK) | D3DSIO_COMMENT)

Definition at line 632 of file d3d9types.h.

◆ D3DSHADER_INSTRUCTION_PREDICATED

#define D3DSHADER_INSTRUCTION_PREDICATED   (1 << 28)

Definition at line 452 of file d3d9types.h.

◆ D3DSHADER_VERSION_MAJOR

#define D3DSHADER_VERSION_MAJOR (   version)    (((version) >> 8) & 0xFF)

Definition at line 626 of file d3d9types.h.

◆ D3DSHADER_VERSION_MINOR

#define D3DSHADER_VERSION_MINOR (   version)    (((version) >> 0) & 0xFF)

Definition at line 627 of file d3d9types.h.

◆ D3DSI_COISSUE

#define D3DSI_COISSUE   0x40000000

for parallelism

Definition at line 458 of file d3d9types.h.

◆ D3DSI_COMMENTSIZE_MASK

#define D3DSI_COMMENTSIZE_MASK   (0x7FFF << D3DSI_COMMENTSIZE_SHIFT)

Definition at line 630 of file d3d9types.h.

◆ D3DSI_COMMENTSIZE_SHIFT

#define D3DSI_COMMENTSIZE_SHIFT   16

Definition at line 629 of file d3d9types.h.

◆ D3DSI_INSTLENGTH_MASK

#define D3DSI_INSTLENGTH_MASK   0x0F000000

Definition at line 353 of file d3d9types.h.

◆ D3DSI_INSTLENGTH_SHIFT

#define D3DSI_INSTLENGTH_SHIFT   24

Definition at line 354 of file d3d9types.h.

◆ D3DSI_OPCODE_MASK

#define D3DSI_OPCODE_MASK   0x0000FFFF

opcode token mask

Definition at line 352 of file d3d9types.h.

◆ D3DSI_TEXLD_BIAS

#define D3DSI_TEXLD_BIAS   0x00020000

Definition at line 455 of file d3d9types.h.

◆ D3DSI_TEXLD_PROJECT

#define D3DSI_TEXLD_PROJECT   0x00010000

Definition at line 454 of file d3d9types.h.

◆ D3DSINCOSCONST1

#define D3DSINCOSCONST1   -1.5500992e-006f, -2.1701389e-005f, 0.0026041667f, 0.00026041668f

Definition at line 449 of file d3d9types.h.

◆ D3DSINCOSCONST2

#define D3DSINCOSCONST2   -0.020833334f, -0.12500000f, 1.0f, 0.50000000f

Definition at line 450 of file d3d9types.h.

◆ D3DSP_DCL_USAGE_MASK

#define D3DSP_DCL_USAGE_MASK   0x0000000f

Definition at line 461 of file d3d9types.h.

◆ D3DSP_DCL_USAGE_SHIFT

#define D3DSP_DCL_USAGE_SHIFT   0

Definition at line 460 of file d3d9types.h.

◆ D3DSP_DCL_USAGEINDEX_MASK

#define D3DSP_DCL_USAGEINDEX_MASK   0x000f0000

Definition at line 464 of file d3d9types.h.

◆ D3DSP_DCL_USAGEINDEX_SHIFT

#define D3DSP_DCL_USAGEINDEX_SHIFT   16

Definition at line 463 of file d3d9types.h.

◆ D3DSP_DSTMOD_MASK

#define D3DSP_DSTMOD_MASK   (0xF << D3DSP_DSTMOD_SHIFT)

Definition at line 489 of file d3d9types.h.

◆ D3DSP_DSTMOD_SHIFT

#define D3DSP_DSTMOD_SHIFT   20

Definition at line 488 of file d3d9types.h.

◆ D3DSP_DSTSHIFT_MASK

#define D3DSP_DSTSHIFT_MASK   (0xF << D3DSP_DSTSHIFT_SHIFT)

Definition at line 502 of file d3d9types.h.

◆ D3DSP_DSTSHIFT_SHIFT

#define D3DSP_DSTSHIFT_SHIFT   24

destination param

Definition at line 501 of file d3d9types.h.

◆ D3DSP_NOSWIZZLE

#define D3DSP_NOSWIZZLE   ((0 << (D3DSP_SWIZZLE_SHIFT + 0)) | (1 << (D3DSP_SWIZZLE_SHIFT + 2)) | (2 << (D3DSP_SWIZZLE_SHIFT + 4)) | (3 << (D3DSP_SWIZZLE_SHIFT + 6)))

Definition at line 599 of file d3d9types.h.

◆ D3DSP_REGNUM_MASK

#define D3DSP_REGNUM_MASK   0x000007FF

Definition at line 479 of file d3d9types.h.

◆ D3DSP_REGTYPE_MASK

#define D3DSP_REGTYPE_MASK   (0x7 << D3DSP_REGTYPE_SHIFT)

Definition at line 507 of file d3d9types.h.

◆ D3DSP_REGTYPE_MASK2

#define D3DSP_REGTYPE_MASK2   0x00001800

Definition at line 508 of file d3d9types.h.

◆ D3DSP_REGTYPE_SHIFT

#define D3DSP_REGTYPE_SHIFT   28

destination/source reg type

Definition at line 505 of file d3d9types.h.

◆ D3DSP_REGTYPE_SHIFT2

#define D3DSP_REGTYPE_SHIFT2   8

Definition at line 506 of file d3d9types.h.

◆ D3DSP_SRCMOD_MASK

#define D3DSP_SRCMOD_MASK   (0xF << D3DSP_SRCMOD_SHIFT)

Definition at line 603 of file d3d9types.h.

◆ D3DSP_SRCMOD_SHIFT

#define D3DSP_SRCMOD_SHIFT   24

Definition at line 602 of file d3d9types.h.

◆ D3DSP_SWIZZLE_MASK

#define D3DSP_SWIZZLE_MASK   (0xFF << D3DSP_SWIZZLE_SHIFT)

Definition at line 575 of file d3d9types.h.

◆ D3DSP_SWIZZLE_SHIFT

#define D3DSP_SWIZZLE_SHIFT   16

Definition at line 574 of file d3d9types.h.

◆ D3DSP_TEXTURETYPE_MASK

#define D3DSP_TEXTURETYPE_MASK   0x78000000

Definition at line 467 of file d3d9types.h.

◆ D3DSP_TEXTURETYPE_SHIFT

#define D3DSP_TEXTURETYPE_SHIFT   27

Definition at line 466 of file d3d9types.h.

◆ D3DSP_WRITEMASK_0

#define D3DSP_WRITEMASK_0   0x00010000 /* .x r */

destination parameter modifiers (.xyzw)

Definition at line 482 of file d3d9types.h.

◆ D3DSP_WRITEMASK_1

#define D3DSP_WRITEMASK_1   0x00020000 /* .y g */

Definition at line 483 of file d3d9types.h.

◆ D3DSP_WRITEMASK_2

#define D3DSP_WRITEMASK_2   0x00040000 /* .z b */

Definition at line 484 of file d3d9types.h.

◆ D3DSP_WRITEMASK_3

#define D3DSP_WRITEMASK_3   0x00080000 /* .w a */

Definition at line 485 of file d3d9types.h.

◆ D3DSP_WRITEMASK_ALL

#define D3DSP_WRITEMASK_ALL   0x000F0000 /* all */

Definition at line 486 of file d3d9types.h.

◆ D3DSTREAMSOURCE_INDEXEDDATA

#define D3DSTREAMSOURCE_INDEXEDDATA   (1u << 30)

Definition at line 181 of file d3d9types.h.

◆ D3DSTREAMSOURCE_INSTANCEDATA

#define D3DSTREAMSOURCE_INSTANCEDATA   (2u << 30)

Definition at line 182 of file d3d9types.h.

◆ D3DTA_ALPHAREPLICATE

#define D3DTA_ALPHAREPLICATE   0x00000020

Definition at line 172 of file d3d9types.h.

◆ D3DTA_COMPLEMENT

#define D3DTA_COMPLEMENT   0x00000010

Definition at line 171 of file d3d9types.h.

◆ D3DTA_CONSTANT

#define D3DTA_CONSTANT   0x00000006

Definition at line 170 of file d3d9types.h.

◆ D3DTA_CURRENT

#define D3DTA_CURRENT   0x00000001

Definition at line 165 of file d3d9types.h.

◆ D3DTA_DIFFUSE

#define D3DTA_DIFFUSE   0x00000000

Definition at line 164 of file d3d9types.h.

◆ D3DTA_SELECTMASK

#define D3DTA_SELECTMASK   0x0000000f

Definition at line 163 of file d3d9types.h.

◆ D3DTA_SPECULAR

#define D3DTA_SPECULAR   0x00000004

Definition at line 168 of file d3d9types.h.

◆ D3DTA_TEMP

#define D3DTA_TEMP   0x00000005

Definition at line 169 of file d3d9types.h.

◆ D3DTA_TEXTURE

#define D3DTA_TEXTURE   0x00000002

Definition at line 166 of file d3d9types.h.

◆ D3DTA_TFACTOR

#define D3DTA_TFACTOR   0x00000003

Definition at line 167 of file d3d9types.h.

◆ D3DTS_WORLD

#define D3DTS_WORLD   D3DTS_WORLDMATRIX(0)

Definition at line 98 of file d3d9types.h.

◆ D3DTS_WORLD1

#define D3DTS_WORLD1   D3DTS_WORLDMATRIX(1)

Definition at line 99 of file d3d9types.h.

◆ D3DTS_WORLD2

#define D3DTS_WORLD2   D3DTS_WORLDMATRIX(2)

Definition at line 100 of file d3d9types.h.

◆ D3DTS_WORLD3

#define D3DTS_WORLD3   D3DTS_WORLDMATRIX(3)

Definition at line 101 of file d3d9types.h.

◆ D3DTS_WORLDMATRIX

#define D3DTS_WORLDMATRIX (   index)    (D3DTRANSFORMSTATETYPE)(index + 256)

Definition at line 102 of file d3d9types.h.

◆ D3DTSS_TCI_CAMERASPACENORMAL

#define D3DTSS_TCI_CAMERASPACENORMAL   0x10000

Definition at line 92 of file d3d9types.h.

◆ D3DTSS_TCI_CAMERASPACEPOSITION

#define D3DTSS_TCI_CAMERASPACEPOSITION   0x20000

Definition at line 93 of file d3d9types.h.

◆ D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR

#define D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR   0x30000

Definition at line 94 of file d3d9types.h.

◆ D3DTSS_TCI_PASSTHRU

#define D3DTSS_TCI_PASSTHRU   0x00000

Definition at line 91 of file d3d9types.h.

◆ D3DTSS_TCI_SPHEREMAP

#define D3DTSS_TCI_SPHEREMAP   0x40000

Definition at line 95 of file d3d9types.h.

◆ D3DUSAGE_AUTOGENMIPMAP

#define D3DUSAGE_AUTOGENMIPMAP   0x00000400L

Definition at line 113 of file d3d9types.h.

◆ D3DUSAGE_DEPTHSTENCIL

#define D3DUSAGE_DEPTHSTENCIL   0x00000002L

Definition at line 105 of file d3d9types.h.

◆ D3DUSAGE_DMAP

#define D3DUSAGE_DMAP   0x00004000L

Definition at line 114 of file d3d9types.h.

◆ D3DUSAGE_DONOTCLIP

#define D3DUSAGE_DONOTCLIP   0x00000020L

Definition at line 108 of file d3d9types.h.

◆ D3DUSAGE_DYNAMIC

#define D3DUSAGE_DYNAMIC   0x00000200L

Definition at line 112 of file d3d9types.h.

◆ D3DUSAGE_NPATCHES

#define D3DUSAGE_NPATCHES   0x00000100L

Definition at line 111 of file d3d9types.h.

◆ D3DUSAGE_POINTS

#define D3DUSAGE_POINTS   0x00000040L

Definition at line 109 of file d3d9types.h.

◆ D3DUSAGE_QUERY_FILTER

#define D3DUSAGE_QUERY_FILTER   0x00020000L

Definition at line 116 of file d3d9types.h.

◆ D3DUSAGE_QUERY_LEGACYBUMPMAP

#define D3DUSAGE_QUERY_LEGACYBUMPMAP   0x00008000L

Definition at line 117 of file d3d9types.h.

◆ D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING

#define D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING   0x00080000L

Definition at line 118 of file d3d9types.h.

◆ D3DUSAGE_QUERY_SRGBREAD

#define D3DUSAGE_QUERY_SRGBREAD   0x00010000L

Definition at line 119 of file d3d9types.h.

◆ D3DUSAGE_QUERY_SRGBWRITE

#define D3DUSAGE_QUERY_SRGBWRITE   0x00040000L

Definition at line 120 of file d3d9types.h.

◆ D3DUSAGE_QUERY_VERTEXTEXTURE

#define D3DUSAGE_QUERY_VERTEXTEXTURE   0x00100000L

Definition at line 121 of file d3d9types.h.

◆ D3DUSAGE_QUERY_WRAPANDMIP

#define D3DUSAGE_QUERY_WRAPANDMIP   0x00200000L

Definition at line 122 of file d3d9types.h.

◆ D3DUSAGE_RENDERTARGET

#define D3DUSAGE_RENDERTARGET   0x00000001L

Definition at line 104 of file d3d9types.h.

◆ D3DUSAGE_RTPATCHES

#define D3DUSAGE_RTPATCHES   0x00000080L

Definition at line 110 of file d3d9types.h.

◆ D3DUSAGE_SOFTWAREPROCESSING

#define D3DUSAGE_SOFTWAREPROCESSING   0x00000010L

Definition at line 107 of file d3d9types.h.

◆ D3DUSAGE_WRITEONLY

#define D3DUSAGE_WRITEONLY   0x00000008L

Definition at line 106 of file d3d9types.h.

◆ D3DVECTOR_DEFINED

#define D3DVECTOR_DEFINED

Definition at line 1371 of file d3d9types.h.

◆ D3DVERTEXTEXTURESAMPLER0

#define D3DVERTEXTEXTURESAMPLER0   (D3DDMAPSAMPLER+1)

Definition at line 193 of file d3d9types.h.

◆ D3DVERTEXTEXTURESAMPLER1

#define D3DVERTEXTEXTURESAMPLER1   (D3DDMAPSAMPLER+2)

Definition at line 194 of file d3d9types.h.

◆ D3DVERTEXTEXTURESAMPLER2

#define D3DVERTEXTEXTURESAMPLER2   (D3DDMAPSAMPLER+3)

Definition at line 195 of file d3d9types.h.

◆ D3DVERTEXTEXTURESAMPLER3

#define D3DVERTEXTEXTURESAMPLER3   (D3DDMAPSAMPLER+4)

Definition at line 196 of file d3d9types.h.

◆ D3DVS_ADDRESSMODE_MASK

#define D3DVS_ADDRESSMODE_MASK   (0x1 << D3DVS_ADDRESSMODE_SHIFT)

Definition at line 551 of file d3d9types.h.

◆ D3DVS_ADDRESSMODE_SHIFT

#define D3DVS_ADDRESSMODE_SHIFT   13

Definition at line 550 of file d3d9types.h.

◆ D3DVS_END

#define D3DVS_END ( )    0x0000FFFF

Definition at line 636 of file d3d9types.h.

◆ D3DVS_NOSWIZZLE

#define D3DVS_NOSWIZZLE   (D3DVS_X_X | D3DVS_Y_Y | D3DVS_Z_Z | D3DVS_W_W)

Definition at line 597 of file d3d9types.h.

◆ D3DVS_SWIZZLE_MASK

#define D3DVS_SWIZZLE_MASK   (0xFF << D3DVS_SWIZZLE_SHIFT)

Definition at line 572 of file d3d9types.h.

◆ D3DVS_SWIZZLE_SHIFT

#define D3DVS_SWIZZLE_SHIFT   16

Definition at line 571 of file d3d9types.h.

◆ D3DVS_VERSION

#define D3DVS_VERSION (   major,
  minor 
)    (0xFFFE0000 | ((major) << 8) | (minor))

Definition at line 625 of file d3d9types.h.

◆ D3DVS_W_W

#define D3DVS_W_W   (3 << (D3DVS_SWIZZLE_SHIFT + 6))

Definition at line 595 of file d3d9types.h.

◆ D3DVS_W_X

#define D3DVS_W_X   (0 << (D3DVS_SWIZZLE_SHIFT + 6))

Definition at line 592 of file d3d9types.h.

◆ D3DVS_W_Y

#define D3DVS_W_Y   (1 << (D3DVS_SWIZZLE_SHIFT + 6))

Definition at line 593 of file d3d9types.h.

◆ D3DVS_W_Z

#define D3DVS_W_Z   (2 << (D3DVS_SWIZZLE_SHIFT + 6))

Definition at line 594 of file d3d9types.h.

◆ D3DVS_X_W

#define D3DVS_X_W   (3 << D3DVS_SWIZZLE_SHIFT)

Definition at line 580 of file d3d9types.h.

◆ D3DVS_X_X

#define D3DVS_X_X   (0 << D3DVS_SWIZZLE_SHIFT)

Definition at line 577 of file d3d9types.h.

◆ D3DVS_X_Y

#define D3DVS_X_Y   (1 << D3DVS_SWIZZLE_SHIFT)

Definition at line 578 of file d3d9types.h.

◆ D3DVS_X_Z

#define D3DVS_X_Z   (2 << D3DVS_SWIZZLE_SHIFT)

Definition at line 579 of file d3d9types.h.

◆ D3DVS_Y_W

#define D3DVS_Y_W   (3 << (D3DVS_SWIZZLE_SHIFT + 2))

Definition at line 585 of file d3d9types.h.

◆ D3DVS_Y_X

#define D3DVS_Y_X   (0 << (D3DVS_SWIZZLE_SHIFT + 2))

Definition at line 582 of file d3d9types.h.

◆ D3DVS_Y_Y

#define D3DVS_Y_Y   (1 << (D3DVS_SWIZZLE_SHIFT + 2))

Definition at line 583 of file d3d9types.h.

◆ D3DVS_Y_Z

#define D3DVS_Y_Z   (2 << (D3DVS_SWIZZLE_SHIFT + 2))

Definition at line 584 of file d3d9types.h.

◆ D3DVS_Z_W

#define D3DVS_Z_W   (3 << (D3DVS_SWIZZLE_SHIFT + 4))

Definition at line 590 of file d3d9types.h.

◆ D3DVS_Z_X

#define D3DVS_Z_X   (0 << (D3DVS_SWIZZLE_SHIFT + 4))

Definition at line 587 of file d3d9types.h.

◆ D3DVS_Z_Y

#define D3DVS_Z_Y   (1 << (D3DVS_SWIZZLE_SHIFT + 4))

Definition at line 588 of file d3d9types.h.

◆ D3DVS_Z_Z

#define D3DVS_Z_Z   (2 << (D3DVS_SWIZZLE_SHIFT + 4))

Definition at line 589 of file d3d9types.h.

◆ D3DVSD_CONST

#define D3DVSD_CONST (   ConstantAddress,
  Count 
)    (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_CONSTMEM) | ((Count) << D3DVSD_CONSTCOUNTSHIFT) | (ConstantAddress))

Definition at line 318 of file d3d9types.h.

◆ D3DVSD_END

#define D3DVSD_END ( )    0xFFFFFFFF

Definition at line 321 of file d3d9types.h.

◆ D3DVSD_MAKETOKENTYPE

#define D3DVSD_MAKETOKENTYPE (   TokenType)    ((TokenType << D3DVSD_TOKENTYPESHIFT) & D3DVSD_TOKENTYPEMASK)

Definition at line 315 of file d3d9types.h.

◆ D3DVSD_NOP

#define D3DVSD_NOP ( )    0x00000000

Definition at line 323 of file d3d9types.h.

◆ D3DVSD_REG

#define D3DVSD_REG (   VertexRegister,
  Type 
)    (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAMDATA) | ((Type) << D3DVSD_DATATYPESHIFT) | (VertexRegister))

Definition at line 325 of file d3d9types.h.

◆ D3DVSD_SKIP

#define D3DVSD_SKIP (   Count)    (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAMDATA) | 0x10000000 | ((Count) << D3DVSD_SKIPCOUNTSHIFT))

Definition at line 328 of file d3d9types.h.

◆ D3DVSD_STREAM

#define D3DVSD_STREAM (   StreamNumber)    (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAM) | (StreamNumber))

Definition at line 331 of file d3d9types.h.

◆ D3DVSD_STREAM_TESS

Definition at line 334 of file d3d9types.h.

◆ D3DVSD_TESSNORMAL

#define D3DVSD_TESSNORMAL (   RegisterIn,
  RegisterOut 
)    (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_TESSELLATOR) | ((RegisterIn) << D3DVSD_VERTEXREGINSHIFT) | ((0x02) << D3DVSD_DATATYPESHIFT) | (RegisterOut))

Definition at line 337 of file d3d9types.h.

◆ D3DVSD_TESSUV

#define D3DVSD_TESSUV (   Register)    (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_TESSELLATOR) | 0x10000000 | ((0x01) << D3DVSD_DATATYPESHIFT) | (Register))

Definition at line 340 of file d3d9types.h.

◆ D3DWRAP_U

#define D3DWRAP_U   1

Definition at line 124 of file d3d9types.h.

◆ D3DWRAP_V

#define D3DWRAP_V   2

Definition at line 125 of file d3d9types.h.

◆ D3DWRAP_W

#define D3DWRAP_W   4

Definition at line 126 of file d3d9types.h.

◆ D3DWRAPCOORD_0

#define D3DWRAPCOORD_0   1

Definition at line 127 of file d3d9types.h.

◆ D3DWRAPCOORD_1

#define D3DWRAPCOORD_1   2

Definition at line 128 of file d3d9types.h.

◆ D3DWRAPCOORD_2

#define D3DWRAPCOORD_2   4

Definition at line 129 of file d3d9types.h.

◆ D3DWRAPCOORD_3

#define D3DWRAPCOORD_3   8

Definition at line 130 of file d3d9types.h.

◆ MAKEFOURCC

#define MAKEFOURCC (   ch0,
  ch1,
  ch2,
  ch3 
)
Value:
((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \
((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))
#define DWORD
Definition: nt_native.h:44
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned char BYTE
Definition: mem.h:68

Definition at line 199 of file d3d9types.h.

◆ MAX_DEVICE_IDENTIFIER_STRING

#define MAX_DEVICE_IDENTIFIER_STRING   512

Definition at line 132 of file d3d9types.h.

◆ MAXD3DDECLLENGTH

#define MAXD3DDECLLENGTH   64 /* +end marker */

Definition at line 186 of file d3d9types.h.

◆ MAXD3DDECLMETHOD

#define MAXD3DDECLMETHOD   D3DDECLMETHOD_LOOKUPPRESAMPLED

Definition at line 187 of file d3d9types.h.

◆ MAXD3DDECLTYPE

#define MAXD3DDECLTYPE   D3DDECLTYPE_UNUSED

Definition at line 188 of file d3d9types.h.

◆ MAXD3DDECLUSAGE

#define MAXD3DDECLUSAGE   D3DDECLUSAGE_SAMPLE

Definition at line 189 of file d3d9types.h.

◆ MAXD3DDECLUSAGEINDEX

#define MAXD3DDECLUSAGEINDEX   15

Definition at line 190 of file d3d9types.h.

Typedef Documentation

◆ D3DADAPTER_IDENTIFIER9

◆ D3DBACKBUFFER_TYPE

◆ D3DBASISTYPE

◆ D3DBLEND

◆ D3DBLENDOP

◆ D3DBOX

◆ D3DCLIPSTATUS9

◆ D3DCMPFUNC

◆ D3DCOLOR

typedef DWORD D3DCOLOR

Definition at line 1221 of file d3d9types.h.

◆ D3DCOLORVALUE

◆ D3DCOMPOSERECTSOP

◆ D3DCUBEMAP_FACES

◆ D3DCULL

◆ D3DDEBUGMONITORTOKENS

◆ D3DDECLMETHOD

◆ D3DDECLTYPE

◆ D3DDECLUSAGE

◆ D3DDEGREETYPE

◆ D3DDEVICE_CREATION_PARAMETERS

◆ D3DDEVINFO_D3D9BANDWIDTHTIMINGS

◆ D3DDEVINFO_D3D9CACHEUTILIZATION

◆ D3DDEVINFO_D3D9INTERFACETIMINGS

◆ D3DDEVINFO_D3D9PIPELINETIMINGS

◆ D3DDEVINFO_D3D9STAGETIMINGS

◆ D3DDEVINFO_D3DRESOURCEMANAGER

◆ D3DDEVINFO_D3DVERTEXSTATS

◆ D3DDEVINFO_VCACHE

◆ D3DDEVTYPE

◆ D3DDISPLAYMODE

◆ D3DDISPLAYMODEEX

◆ D3DDISPLAYMODEFILTER

◆ D3DDISPLAYROTATION

◆ D3DFILLMODE

◆ D3DFOGMODE

◆ D3DFORMAT

◆ D3DGAMMARAMP

◆ D3DINDEXBUFFER_DESC

◆ D3DLIGHT9

◆ D3DLIGHTTYPE

◆ D3DLINEPATTERN

◆ D3DLOCKED_BOX

◆ D3DLOCKED_RECT

◆ D3DMATERIAL9

◆ D3DMATERIALCOLORSOURCE

◆ D3DMATRIX

◆ D3DMULTISAMPLE_TYPE

◆ D3DPATCHEDGESTYLE

◆ D3DPOOL

◆ D3DPRESENT_PARAMETERS

◆ D3DPRESENTSTATS

◆ D3DPRIMITIVETYPE

◆ D3DQUERYTYPE

◆ D3DRANGE

◆ D3DRASTER_STATUS

◆ D3DRECT

◆ D3DRECTPATCH_INFO

◆ D3DRENDERSTATETYPE

◆ D3DRESOURCESTATS

◆ D3DRESOURCETYPE

◆ D3DSAMPLER_TEXTURE_TYPE

◆ D3DSAMPLERSTATETYPE

◆ D3DSCANLINEORDERING

◆ D3DSHADEMODE

◆ D3DSHADER_ADDRESSMODE_TYPE

◆ D3DSHADER_COMPARISON

◆ D3DSHADER_INSTRUCTION_OPCODE_TYPE

◆ D3DSHADER_MISCTYPE_OFFSETS

◆ D3DSHADER_PARAM_DSTMOD_TYPE

◆ D3DSHADER_PARAM_REGISTER_TYPE

◆ D3DSHADER_PARAM_SRCMOD_TYPE

◆ D3DSTATEBLOCKTYPE

◆ D3DSTENCILOP

◆ D3DSURFACE_DESC

◆ D3DSWAPEFFECT

◆ D3DTEXTUREADDRESS

◆ D3DTEXTUREFILTERTYPE

◆ D3DTEXTUREOP

◆ D3DTEXTURESTAGESTATETYPE

◆ D3DTEXTURETRANSFORMFLAGS

◆ D3DTRANSFORMSTATETYPE

◆ D3DTRIPATCH_INFO

◆ D3DVECTOR

◆ D3DVERTEXBLENDFLAGS

◆ D3DVERTEXBUFFER_DESC

◆ D3DVERTEXELEMENT9

◆ D3DVIEWPORT9

◆ D3DVOLUME_DESC

◆ D3DVS_ADDRESSMODE_TYPE

◆ D3DVS_RASTOUT_OFFSETS

◆ D3DZBUFFERTYPE

◆ LPD3DVERTEXELEMENT9

Enumeration Type Documentation

◆ _D3DBACKBUFFER_TYPE

Enumerator
D3DBACKBUFFER_TYPE_MONO 
D3DBACKBUFFER_TYPE_LEFT 
D3DBACKBUFFER_TYPE_RIGHT 
D3DBACKBUFFER_TYPE_FORCE_DWORD 
D3DBACKBUFFER_TYPE_MONO 
D3DBACKBUFFER_TYPE_LEFT 
D3DBACKBUFFER_TYPE_RIGHT 
D3DBACKBUFFER_TYPE_FORCE_DWORD 

Definition at line 642 of file d3d9types.h.

◆ _D3DBASISTYPE

Enumerator
D3DBASIS_BEZIER 
D3DBASIS_BSPLINE 
D3DBASIS_INTERPOLATE 
D3DBASIS_FORCE_DWORD 
D3DBASIS_BEZIER 
D3DBASIS_BSPLINE 
D3DBASIS_INTERPOLATE 
D3DBASIS_FORCE_DWORD 

Definition at line 650 of file d3d9types.h.

650  {
651  D3DBASIS_BEZIER = 0,
652  D3DBASIS_BSPLINE = 1,
654 
655  D3DBASIS_FORCE_DWORD = 0x7fffffff
656 } D3DBASISTYPE;
enum _D3DBASISTYPE D3DBASISTYPE

◆ _D3DBLEND

Enumerator
D3DBLEND_ZERO 
D3DBLEND_ONE 
D3DBLEND_SRCCOLOR 
D3DBLEND_INVSRCCOLOR 
D3DBLEND_SRCALPHA 
D3DBLEND_INVSRCALPHA 
D3DBLEND_DESTALPHA 
D3DBLEND_INVDESTALPHA 
D3DBLEND_DESTCOLOR 
D3DBLEND_INVDESTCOLOR 
D3DBLEND_SRCALPHASAT 
D3DBLEND_BOTHSRCALPHA 
D3DBLEND_BOTHINVSRCALPHA 
D3DBLEND_FORCE_DWORD 
D3DBLEND_ZERO 
D3DBLEND_ONE 
D3DBLEND_SRCCOLOR 
D3DBLEND_INVSRCCOLOR 
D3DBLEND_SRCALPHA 
D3DBLEND_INVSRCALPHA 
D3DBLEND_DESTALPHA 
D3DBLEND_INVDESTALPHA 
D3DBLEND_DESTCOLOR 
D3DBLEND_INVDESTCOLOR 
D3DBLEND_SRCALPHASAT 
D3DBLEND_BOTHSRCALPHA 
D3DBLEND_BOTHINVSRCALPHA 
D3DBLEND_BLENDFACTOR 
D3DBLEND_INVBLENDFACTOR 
D3DBLEND_FORCE_DWORD 

Definition at line 658 of file d3d9types.h.

◆ _D3DBLENDOP

Enumerator
D3DBLENDOP_ADD 
D3DBLENDOP_SUBTRACT 
D3DBLENDOP_REVSUBTRACT 
D3DBLENDOP_MIN 
D3DBLENDOP_MAX 
D3DBLENDOP_FORCE_DWORD 
D3DBLENDOP_ADD 
D3DBLENDOP_SUBTRACT 
D3DBLENDOP_REVSUBTRACT 
D3DBLENDOP_MIN 
D3DBLENDOP_MAX 
D3DBLENDOP_FORCE_DWORD 

Definition at line 677 of file d3d9types.h.

◆ _D3DCMPFUNC

Enumerator
D3DCMP_NEVER 
D3DCMP_LESS 
D3DCMP_EQUAL 
D3DCMP_LESSEQUAL 
D3DCMP_GREATER 
D3DCMP_NOTEQUAL 
D3DCMP_GREATEREQUAL 
D3DCMP_ALWAYS 
D3DCMP_FORCE_DWORD 
D3DCMP_NEVER 
D3DCMP_LESS 
D3DCMP_EQUAL 
D3DCMP_LESSEQUAL 
D3DCMP_GREATER 
D3DCMP_NOTEQUAL 
D3DCMP_GREATEREQUAL 
D3DCMP_ALWAYS 
D3DCMP_FORCE_DWORD 

Definition at line 687 of file d3d9types.h.

687  {
688  D3DCMP_NEVER = 1,
689  D3DCMP_LESS = 2,
690  D3DCMP_EQUAL = 3,
691  D3DCMP_LESSEQUAL = 4,
692  D3DCMP_GREATER = 5,
693  D3DCMP_NOTEQUAL = 6,
695  D3DCMP_ALWAYS = 8,
696 
697  D3DCMP_FORCE_DWORD = 0x7fffffff
698 } D3DCMPFUNC;
enum _D3DCMPFUNC D3DCMPFUNC

◆ _D3DCOMPOSERECTSOP

Enumerator
D3DCOMPOSERECTS_COPY 
D3DCOMPOSERECTS_OR 
D3DCOMPOSERECTS_AND 
D3DCOMPOSERECTS_NEG 
D3DCOMPOSERECTS_FORCE_DWORD 

Definition at line 1562 of file d3d9types.h.

◆ _D3DCUBEMAP_FACES

Enumerator
D3DCUBEMAP_FACE_POSITIVE_X 
D3DCUBEMAP_FACE_NEGATIVE_X 
D3DCUBEMAP_FACE_POSITIVE_Y 
D3DCUBEMAP_FACE_NEGATIVE_Y 
D3DCUBEMAP_FACE_POSITIVE_Z 
D3DCUBEMAP_FACE_NEGATIVE_Z 
D3DCUBEMAP_FACE_FORCE_DWORD 
D3DCUBEMAP_FACE_POSITIVE_X 
D3DCUBEMAP_FACE_NEGATIVE_X 
D3DCUBEMAP_FACE_POSITIVE_Y 
D3DCUBEMAP_FACE_NEGATIVE_Y 
D3DCUBEMAP_FACE_POSITIVE_Z 
D3DCUBEMAP_FACE_NEGATIVE_Z 
D3DCUBEMAP_FACE_FORCE_DWORD 

Definition at line 700 of file d3d9types.h.

◆ _D3DCULL

Enumerator
D3DCULL_NONE 
D3DCULL_CW 
D3DCULL_CCW 
D3DCULL_FORCE_DWORD 
D3DCULL_NONE 
D3DCULL_CW 
D3DCULL_CCW 
D3DCULL_FORCE_DWORD 

Definition at line 711 of file d3d9types.h.

711  {
712  D3DCULL_NONE = 1,
713  D3DCULL_CW = 2,
714  D3DCULL_CCW = 3,
715 
716  D3DCULL_FORCE_DWORD = 0x7fffffff
717 } D3DCULL;
enum _D3DCULL D3DCULL

◆ _D3DDEBUGMONITORTOKENS

Enumerator
D3DDMT_ENABLE 
D3DDMT_DISABLE 
D3DDMT_FORCE_DWORD 
D3DDMT_ENABLE 
D3DDMT_DISABLE 
D3DDMT_FORCE_DWORD 

Definition at line 719 of file d3d9types.h.

719  {
720  D3DDMT_ENABLE = 0,
721  D3DDMT_DISABLE = 1,
722 
723  D3DDMT_FORCE_DWORD = 0x7fffffff
enum _D3DDEBUGMONITORTOKENS D3DDEBUGMONITORTOKENS

◆ _D3DDECLMETHOD

Enumerator
D3DDECLMETHOD_DEFAULT 
D3DDECLMETHOD_PARTIALU 
D3DDECLMETHOD_PARTIALV 
D3DDECLMETHOD_CROSSUV 
D3DDECLMETHOD_UV 
D3DDECLMETHOD_LOOKUP 
D3DDECLMETHOD_LOOKUPPRESAMPLED 

Definition at line 241 of file d3d9types.h.

◆ _D3DDECLTYPE

Enumerator
D3DDECLTYPE_FLOAT1 
D3DDECLTYPE_FLOAT2 
D3DDECLTYPE_FLOAT3 
D3DDECLTYPE_FLOAT4 
D3DDECLTYPE_D3DCOLOR 
D3DDECLTYPE_UBYTE4 
D3DDECLTYPE_SHORT2 
D3DDECLTYPE_SHORT4 
D3DDECLTYPE_UBYTE4N 
D3DDECLTYPE_SHORT2N 
D3DDECLTYPE_SHORT4N 
D3DDECLTYPE_USHORT2N 
D3DDECLTYPE_USHORT4N 
D3DDECLTYPE_UDEC3 
D3DDECLTYPE_DEC3N 
D3DDECLTYPE_FLOAT16_2 
D3DDECLTYPE_FLOAT16_4 
D3DDECLTYPE_UNUSED 

Definition at line 254 of file d3d9types.h.

◆ _D3DDECLUSAGE

Enumerator
D3DDECLUSAGE_POSITION 
D3DDECLUSAGE_BLENDWEIGHT 
D3DDECLUSAGE_BLENDINDICES 
D3DDECLUSAGE_NORMAL 
D3DDECLUSAGE_PSIZE 
D3DDECLUSAGE_TEXCOORD 
D3DDECLUSAGE_TANGENT 
D3DDECLUSAGE_BINORMAL 
D3DDECLUSAGE_TESSFACTOR 
D3DDECLUSAGE_POSITIONT 
D3DDECLUSAGE_COLOR 
D3DDECLUSAGE_FOG 
D3DDECLUSAGE_DEPTH 
D3DDECLUSAGE_SAMPLE 

Definition at line 219 of file d3d9types.h.

◆ _D3DDEGREETYPE

Enumerator
D3DDEGREE_LINEAR 
D3DDEGREE_QUADRATIC 
D3DDEGREE_CUBIC 
D3DDEGREE_QUINTIC 
D3DDEGREE_FORCE_DWORD 

Definition at line 726 of file d3d9types.h.

726  {
727  D3DDEGREE_LINEAR = 1,
729  D3DDEGREE_CUBIC = 3,
730  D3DDEGREE_QUINTIC = 5,
731 
732  D3DDEGREE_FORCE_DWORD = 0x7fffffff
733 } D3DDEGREETYPE;
enum _D3DDEGREETYPE D3DDEGREETYPE

◆ _D3DDEVTYPE

Enumerator
D3DDEVTYPE_HAL 
D3DDEVTYPE_REF 
D3DDEVTYPE_SW 
D3DDEVTYPE_FORCE_DWORD 
D3DDEVTYPE_HAL 
D3DDEVTYPE_REF 
D3DDEVTYPE_SW 
D3DDEVTYPE_NULLREF 
D3DDEVTYPE_FORCE_DWORD 

Definition at line 735 of file d3d9types.h.

735  {
736  D3DDEVTYPE_HAL = 1,
737  D3DDEVTYPE_REF = 2,
738  D3DDEVTYPE_SW = 3,
739  D3DDEVTYPE_NULLREF = 4,
740 
741  D3DDEVTYPE_FORCE_DWORD = 0xffffffff
742 } D3DDEVTYPE;
enum _D3DDEVTYPE D3DDEVTYPE

◆ _D3DFILLMODE

Enumerator
D3DFILL_POINT 
D3DFILL_WIREFRAME 
D3DFILL_SOLID 
D3DFILL_FORCE_DWORD 
D3DFILL_POINT 
D3DFILL_WIREFRAME 
D3DFILL_SOLID 
D3DFILL_FORCE_DWORD 

Definition at line 744 of file d3d9types.h.

744  {
745  D3DFILL_POINT = 1,
746  D3DFILL_WIREFRAME = 2,
747  D3DFILL_SOLID = 3,
748 
749  D3DFILL_FORCE_DWORD = 0x7fffffff
750 } D3DFILLMODE;
enum _D3DFILLMODE D3DFILLMODE

◆ _D3DFOGMODE

Enumerator
D3DFOG_NONE 
D3DFOG_EXP 
D3DFOG_EXP2 
D3DFOG_LINEAR 
D3DFOG_FORCE_DWORD 
D3DFOG_NONE 
D3DFOG_EXP 
D3DFOG_EXP2 
D3DFOG_LINEAR 
D3DFOG_FORCE_DWORD 
D3DFOG_NONE 
D3DFOG_EXP 
D3DFOG_EXP2 
D3DFOG_LINEAR 
D3DFOG_FORCE_DWORD 

Definition at line 752 of file d3d9types.h.

752  {
753  D3DFOG_NONE = 0,
754  D3DFOG_EXP = 1,
755  D3DFOG_EXP2 = 2,
756  D3DFOG_LINEAR = 3,
757 
758  D3DFOG_FORCE_DWORD = 0x7fffffff
759 } D3DFOGMODE;
enum _D3DFOGMODE D3DFOGMODE

◆ _D3DFORMAT

Enumerator
D3DFMT_UNKNOWN 
D3DFMT_R8G8B8 
D3DFMT_A8R8G8B8 
D3DFMT_X8R8G8B8 
D3DFMT_R5G6B5 
D3DFMT_X1R5G5B5 
D3DFMT_A1R5G5B5 
D3DFMT_A4R4G4B4 
D3DFMT_R3G3B2 
D3DFMT_A8 
D3DFMT_A8R3G3B2 
D3DFMT_X4R4G4B4 
D3DFMT_A2B10G10R10 
D3DFMT_G16R16 
D3DFMT_A8P8 
D3DFMT_P8 
D3DFMT_L8 
D3DFMT_A8L8 
D3DFMT_A4L4 
D3DFMT_V8U8 
D3DFMT_L6V5U5 
D3DFMT_X8L8V8U8 
D3DFMT_Q8W8V8U8 
D3DFMT_V16U16 
D3DFMT_W11V11U10 
D3DFMT_A2W10V10U10 
D3DFMT_UYVY 
D3DFMT_YUY2 
D3DFMT_DXT1 
D3DFMT_DXT2 
D3DFMT_DXT3 
D3DFMT_DXT4 
D3DFMT_DXT5 
D3DFMT_D16_LOCKABLE 
D3DFMT_D32 
D3DFMT_D15S1 
D3DFMT_D24S8 
D3DFMT_D16 
D3DFMT_D24X8 
D3DFMT_D24X4S4 
D3DFMT_VERTEXDATA 
D3DFMT_INDEX16 
D3DFMT_INDEX32 
D3DFMT_FORCE_DWORD 
D3DFMT_UNKNOWN 
D3DFMT_R8G8B8 
D3DFMT_A8R8G8B8 
D3DFMT_X8R8G8B8 
D3DFMT_R5G6B5 
D3DFMT_X1R5G5B5 
D3DFMT_A1R5G5B5 
D3DFMT_A4R4G4B4 
D3DFMT_R3G3B2 
D3DFMT_A8 
D3DFMT_A8R3G3B2 
D3DFMT_X4R4G4B4 
D3DFMT_A2B10G10R10 
D3DFMT_A8B8G8R8 
D3DFMT_X8B8G8R8 
D3DFMT_G16R16 
D3DFMT_A2R10G10B10 
D3DFMT_A16B16G16R16 
D3DFMT_A8P8 
D3DFMT_P8 
D3DFMT_L8 
D3DFMT_A8L8 
D3DFMT_A4L4 
D3DFMT_V8U8 
D3DFMT_L6V5U5 
D3DFMT_X8L8V8U8 
D3DFMT_Q8W8V8U8 
D3DFMT_V16U16 
D3DFMT_A2W10V10U10 
D3DFMT_UYVY 
D3DFMT_YUY2 
D3DFMT_DXT1 
D3DFMT_DXT2 
D3DFMT_DXT3 
D3DFMT_DXT4 
D3DFMT_DXT5 
D3DFMT_MULTI2_ARGB8 
D3DFMT_G8R8_G8B8 
D3DFMT_R8G8_B8G8 
D3DFMT_D16_LOCKABLE 
D3DFMT_D32 
D3DFMT_D15S1 
D3DFMT_D24S8 
D3DFMT_D24X8 
D3DFMT_D24X4S4 
D3DFMT_D16 
D3DFMT_L16 
D3DFMT_D32F_LOCKABLE 
D3DFMT_D24FS8 
D3DFMT_D32_LOCKABLE 
D3DFMT_S8_LOCKABLE 
D3DFMT_VERTEXDATA 
D3DFMT_INDEX16 
D3DFMT_INDEX32 
D3DFMT_Q16W16V16U16 
D3DFMT_R16F 
D3DFMT_G16R16F 
D3DFMT_A16B16G16R16F 
D3DFMT_R32F 
D3DFMT_G32R32F 
D3DFMT_A32B32G32R32F 
D3DFMT_CxV8U8 
D3DFMT_FORCE_DWORD 

Definition at line 761 of file d3d9types.h.

761  {
762  D3DFMT_UNKNOWN = 0,
763 
764  D3DFMT_R8G8B8 = 20,
765  D3DFMT_A8R8G8B8 = 21,
766  D3DFMT_X8R8G8B8 = 22,
767  D3DFMT_R5G6B5 = 23,
768  D3DFMT_X1R5G5B5 = 24,
769  D3DFMT_A1R5G5B5 = 25,
770  D3DFMT_A4R4G4B4 = 26,
771  D3DFMT_R3G3B2 = 27,
772  D3DFMT_A8 = 28,
773  D3DFMT_A8R3G3B2 = 29,
774  D3DFMT_X4R4G4B4 = 30,
775  D3DFMT_A2B10G10R10 = 31,
776  D3DFMT_A8B8G8R8 = 32,
777  D3DFMT_X8B8G8R8 = 33,
778  D3DFMT_G16R16 = 34,
779  D3DFMT_A2R10G10B10 = 35,
780  D3DFMT_A16B16G16R16 = 36,
781 
782 
783  D3DFMT_A8P8 = 40,
784  D3DFMT_P8 = 41,
785 
786  D3DFMT_L8 = 50,
787  D3DFMT_A8L8 = 51,
788  D3DFMT_A4L4 = 52,
789 
790  D3DFMT_V8U8 = 60,
791  D3DFMT_L6V5U5 = 61,
792  D3DFMT_X8L8V8U8 = 62,
793  D3DFMT_Q8W8V8U8 = 63,
794  D3DFMT_V16U16 = 64,
795  D3DFMT_A2W10V10U10 = 67,
796 
797  D3DFMT_UYVY = MAKEFOURCC('U', 'Y', 'V', 'Y'),
798  D3DFMT_YUY2 = MAKEFOURCC('Y', 'U', 'Y', '2'),
799  D3DFMT_DXT1 = MAKEFOURCC('D', 'X', 'T', '1'),
800  D3DFMT_DXT2 = MAKEFOURCC('D', 'X', 'T', '2'),
801  D3DFMT_DXT3 = MAKEFOURCC('D', 'X', 'T', '3'),
802  D3DFMT_DXT4 = MAKEFOURCC('D', 'X', 'T', '4'),
803  D3DFMT_DXT5 = MAKEFOURCC('D', 'X', 'T', '5'),
804  D3DFMT_MULTI2_ARGB8 = MAKEFOURCC('M', 'E', 'T', '1'),
805  D3DFMT_G8R8_G8B8 = MAKEFOURCC('G', 'R', 'G', 'B'),
806  D3DFMT_R8G8_B8G8 = MAKEFOURCC('R', 'G', 'B', 'G'),
807 
808  D3DFMT_D16_LOCKABLE = 70,
809  D3DFMT_D32 = 71,
810  D3DFMT_D15S1 = 73,
811  D3DFMT_D24S8 = 75,
812  D3DFMT_D24X8 = 77,
813  D3DFMT_D24X4S4 = 79,
814  D3DFMT_D16 = 80,
815  D3DFMT_L16 = 81,
817  D3DFMT_D24FS8 = 83,
818 
819 #ifndef D3D_DISABLE_9EX
820  D3DFMT_D32_LOCKABLE = 84,
821  D3DFMT_S8_LOCKABLE = 85,
822 #endif
823 
824  D3DFMT_VERTEXDATA = 100,
825  D3DFMT_INDEX16 = 101,
826  D3DFMT_INDEX32 = 102,
827  D3DFMT_Q16W16V16U16 = 110,
828  /* Floating point formats */
829  D3DFMT_R16F = 111,
830  D3DFMT_G16R16F = 112,
831  D3DFMT_A16B16G16R16F = 113,
832 
833  /* IEEE formats */
834  D3DFMT_R32F = 114,
835  D3DFMT_G32R32F = 115,
836  D3DFMT_A32B32G32R32F = 116,
837 
838  D3DFMT_CxV8U8 = 117,
839 
840 
841  D3DFMT_FORCE_DWORD = 0xFFFFFFFF
842 } D3DFORMAT;
enum _D3DFORMAT D3DFORMAT
#define MAKEFOURCC(ch0, ch1, ch2, ch3)
Definition: d3d9types.h:199

◆ _D3DLIGHTTYPE

Enumerator
D3DLIGHT_POINT 
D3DLIGHT_SPOT 
D3DLIGHT_DIRECTIONAL 
D3DLIGHT_FORCE_DWORD 
D3DLIGHT_POINT 
D3DLIGHT_SPOT 
D3DLIGHT_DIRECTIONAL 
D3DLIGHT_FORCE_DWORD 

Definition at line 844 of file d3d9types.h.

844  {
845  D3DLIGHT_POINT = 1,
846  D3DLIGHT_SPOT = 2,
848 
849  D3DLIGHT_FORCE_DWORD = 0x7fffffff
850 } D3DLIGHTTYPE;
enum _D3DLIGHTTYPE D3DLIGHTTYPE

◆ _D3DMATERIALCOLORSOURCE

Enumerator
D3DMCS_MATERIAL 
D3DMCS_COLOR1 
D3DMCS_COLOR2 
D3DMCS_FORCE_DWORD 
D3DMCS_MATERIAL 
D3DMCS_COLOR1 
D3DMCS_COLOR2 
D3DMCS_FORCE_DWORD 
D3DMCS_MATERIAL 
D3DMCS_COLOR1 
D3DMCS_COLOR2 
D3DMCS_FORCE_DWORD 

Definition at line 852 of file d3d9types.h.

852  {
853  D3DMCS_MATERIAL = 0,
854  D3DMCS_COLOR1 = 1,
855  D3DMCS_COLOR2 = 2,
856 
857  D3DMCS_FORCE_DWORD = 0x7fffffff
enum _D3DMATERIALCOLORSOURCE D3DMATERIALCOLORSOURCE

◆ _D3DMULTISAMPLE_TYPE

Enumerator
D3DMULTISAMPLE_NONE 
D3DMULTISAMPLE_2_SAMPLES 
D3DMULTISAMPLE_3_SAMPLES 
D3DMULTISAMPLE_4_SAMPLES 
D3DMULTISAMPLE_5_SAMPLES 
D3DMULTISAMPLE_6_SAMPLES 
D3DMULTISAMPLE_7_SAMPLES 
D3DMULTISAMPLE_8_SAMPLES 
D3DMULTISAMPLE_9_SAMPLES 
D3DMULTISAMPLE_10_SAMPLES 
D3DMULTISAMPLE_11_SAMPLES 
D3DMULTISAMPLE_12_SAMPLES 
D3DMULTISAMPLE_13_SAMPLES 
D3DMULTISAMPLE_14_SAMPLES 
D3DMULTISAMPLE_15_SAMPLES 
D3DMULTISAMPLE_16_SAMPLES 
D3DMULTISAMPLE_FORCE_DWORD 
D3DMULTISAMPLE_NONE 
D3DMULTISAMPLE_NONMASKABLE 
D3DMULTISAMPLE_2_SAMPLES 
D3DMULTISAMPLE_3_SAMPLES 
D3DMULTISAMPLE_4_SAMPLES 
D3DMULTISAMPLE_5_SAMPLES 
D3DMULTISAMPLE_6_SAMPLES 
D3DMULTISAMPLE_7_SAMPLES 
D3DMULTISAMPLE_8_SAMPLES 
D3DMULTISAMPLE_9_SAMPLES 
D3DMULTISAMPLE_10_SAMPLES 
D3DMULTISAMPLE_11_SAMPLES 
D3DMULTISAMPLE_12_SAMPLES 
D3DMULTISAMPLE_13_SAMPLES 
D3DMULTISAMPLE_14_SAMPLES 
D3DMULTISAMPLE_15_SAMPLES 
D3DMULTISAMPLE_16_SAMPLES 
D3DMULTISAMPLE_FORCE_DWORD 

Definition at line 860 of file d3d9types.h.

860  {
878 
879  D3DMULTISAMPLE_FORCE_DWORD = 0x7fffffff
enum _D3DMULTISAMPLE_TYPE D3DMULTISAMPLE_TYPE

◆ _D3DPATCHEDGESTYLE

Enumerator
D3DPATCHEDGE_DISCRETE 
D3DPATCHEDGE_CONTINUOUS 
D3DPATCHEDGE_FORCE_DWORD 
D3DPATCHEDGE_DISCRETE 
D3DPATCHEDGE_CONTINUOUS 
D3DPATCHEDGE_FORCE_DWORD 

Definition at line 892 of file d3d9types.h.

892  {
895 
896  D3DPATCHEDGE_FORCE_DWORD = 0x7fffffff,
enum _D3DPATCHEDGESTYLE D3DPATCHEDGESTYLE

◆ _D3DPOOL

Enumerator
D3DPOOL_DEFAULT 
D3DPOOL_MANAGED 
D3DPOOL_SYSTEMMEM 
D3DPOOL_SCRATCH 
D3DPOOL_FORCE_DWORD 
D3DPOOL_DEFAULT 
D3DPOOL_MANAGED 
D3DPOOL_SYSTEMMEM 
D3DPOOL_SCRATCH 
D3DPOOL_FORCE_DWORD 

Definition at line 899 of file d3d9types.h.

899  {
900  D3DPOOL_DEFAULT = 0,
901  D3DPOOL_MANAGED = 1,
902  D3DPOOL_SYSTEMMEM = 2,
903  D3DPOOL_SCRATCH = 3,
904 
905  D3DPOOL_FORCE_DWORD = 0x7fffffff
906 } D3DPOOL;
enum _D3DPOOL D3DPOOL

◆ _D3DPRIMITIVETYPE

Enumerator
D3DPT_POINTLIST 
D3DPT_LINELIST 
D3DPT_LINESTRIP 
D3DPT_TRIANGLELIST 
D3DPT_TRIANGLESTRIP 
D3DPT_TRIANGLEFAN 
D3DPT_FORCE_DWORD 
D3DPT_POINTLIST 
D3DPT_LINELIST 
D3DPT_LINESTRIP 
D3DPT_TRIANGLELIST 
D3DPT_TRIANGLESTRIP 
D3DPT_TRIANGLEFAN 
D3DPT_FORCE_DWORD 

Definition at line 908 of file d3d9types.h.

908  {
909  D3DPT_POINTLIST = 1,
910  D3DPT_LINELIST = 2,
911  D3DPT_LINESTRIP = 3,
912  D3DPT_TRIANGLELIST = 4,
914  D3DPT_TRIANGLEFAN = 6,
915 
916  D3DPT_FORCE_DWORD = 0x7fffffff
enum _D3DPRIMITIVETYPE D3DPRIMITIVETYPE

◆ _D3DQUERYTYPE

Enumerator
D3DQUERYTYPE_VCACHE 
D3DQUERYTYPE_RESOURCEMANAGER 
D3DQUERYTYPE_VERTEXSTATS 
D3DQUERYTYPE_EVENT 
D3DQUERYTYPE_OCCLUSION 
D3DQUERYTYPE_TIMESTAMP 
D3DQUERYTYPE_TIMESTAMPDISJOINT 
D3DQUERYTYPE_TIMESTAMPFREQ 
D3DQUERYTYPE_PIPELINETIMINGS 
D3DQUERYTYPE_INTERFACETIMINGS 
D3DQUERYTYPE_VERTEXTIMINGS 
D3DQUERYTYPE_PIXELTIMINGS 
D3DQUERYTYPE_BANDWIDTHTIMINGS 
D3DQUERYTYPE_CACHEUTILIZATION 
D3DQUERYTYPE_MEMORYPRESSURE 

Definition at line 288 of file d3d9types.h.

◆ _D3DRENDERSTATETYPE

Enumerator
D3DRS_ZENABLE 
D3DRS_FILLMODE 
D3DRS_SHADEMODE 
D3DRS_LINEPATTERN 
D3DRS_ZWRITEENABLE 
D3DRS_ALPHATESTENABLE 
D3DRS_LASTPIXEL 
D3DRS_SRCBLEND 
D3DRS_DESTBLEND 
D3DRS_CULLMODE 
D3DRS_ZFUNC 
D3DRS_ALPHAREF 
D3DRS_ALPHAFUNC 
D3DRS_DITHERENABLE 
D3DRS_ALPHABLENDENABLE 
D3DRS_FOGENABLE 
D3DRS_SPECULARENABLE 
D3DRS_ZVISIBLE 
D3DRS_FOGCOLOR 
D3DRS_FOGTABLEMODE 
D3DRS_FOGSTART 
D3DRS_FOGEND 
D3DRS_FOGDENSITY 
D3DRS_EDGEANTIALIAS 
D3DRS_ZBIAS 
D3DRS_RANGEFOGENABLE 
D3DRS_STENCILENABLE 
D3DRS_STENCILFAIL 
D3DRS_STENCILZFAIL 
D3DRS_STENCILPASS 
D3DRS_STENCILFUNC 
D3DRS_STENCILREF 
D3DRS_STENCILMASK 
D3DRS_STENCILWRITEMASK 
D3DRS_TEXTUREFACTOR 
D3DRS_WRAP0 
D3DRS_WRAP1 
D3DRS_WRAP2 
D3DRS_WRAP3 
D3DRS_WRAP4 
D3DRS_WRAP5 
D3DRS_WRAP6 
D3DRS_WRAP7 
D3DRS_CLIPPING 
D3DRS_LIGHTING 
D3DRS_AMBIENT 
D3DRS_FOGVERTEXMODE 
D3DRS_COLORVERTEX 
D3DRS_LOCALVIEWER 
D3DRS_NORMALIZENORMALS 
D3DRS_DIFFUSEMATERIALSOURCE 
D3DRS_SPECULARMATERIALSOURCE 
D3DRS_AMBIENTMATERIALSOURCE 
D3DRS_EMISSIVEMATERIALSOURCE 
D3DRS_VERTEXBLEND 
D3DRS_CLIPPLANEENABLE 
D3DRS_SOFTWAREVERTEXPROCESSING 
D3DRS_POINTSIZE 
D3DRS_POINTSIZE_MIN 
D3DRS_POINTSPRITEENABLE 
D3DRS_POINTSCALEENABLE 
D3DRS_POINTSCALE_A 
D3DRS_POINTSCALE_B 
D3DRS_POINTSCALE_C 
D3DRS_MULTISAMPLEANTIALIAS 
D3DRS_MULTISAMPLEMASK 
D3DRS_PATCHEDGESTYLE 
D3DRS_PATCHSEGMENTS 
D3DRS_DEBUGMONITORTOKEN 
D3DRS_POINTSIZE_MAX 
D3DRS_INDEXEDVERTEXBLENDENABLE 
D3DRS_COLORWRITEENABLE 
D3DRS_TWEENFACTOR 
D3DRS_BLENDOP 
D3DRS_POSITIONORDER 
D3DRS_NORMALORDER 
D3DRS_FORCE_DWORD 
D3DRS_ZENABLE 
D3DRS_FILLMODE 
D3DRS_SHADEMODE 
D3DRS_ZWRITEENABLE 
D3DRS_ALPHATESTENABLE 
D3DRS_LASTPIXEL 
D3DRS_SRCBLEND 
D3DRS_DESTBLEND 
D3DRS_CULLMODE 
D3DRS_ZFUNC 
D3DRS_ALPHAREF 
D3DRS_ALPHAFUNC 
D3DRS_DITHERENABLE 
D3DRS_ALPHABLENDENABLE 
D3DRS_FOGENABLE 
D3DRS_SPECULARENABLE 
D3DRS_FOGCOLOR 
D3DRS_FOGTABLEMODE 
D3DRS_FOGSTART 
D3DRS_FOGEND 
D3DRS_FOGDENSITY 
D3DRS_RANGEFOGENABLE 
D3DRS_STENCILENABLE 
D3DRS_STENCILFAIL 
D3DRS_STENCILZFAIL 
D3DRS_STENCILPASS 
D3DRS_STENCILFUNC 
D3DRS_STENCILREF 
D3DRS_STENCILMASK 
D3DRS_STENCILWRITEMASK 
D3DRS_TEXTUREFACTOR 
D3DRS_WRAP0 
D3DRS_WRAP1 
D3DRS_WRAP2 
D3DRS_WRAP3 
D3DRS_WRAP4 
D3DRS_WRAP5 
D3DRS_WRAP6 
D3DRS_WRAP7 
D3DRS_CLIPPING 
D3DRS_LIGHTING 
D3DRS_AMBIENT 
D3DRS_FOGVERTEXMODE 
D3DRS_COLORVERTEX 
D3DRS_LOCALVIEWER 
D3DRS_NORMALIZENORMALS 
D3DRS_DIFFUSEMATERIALSOURCE 
D3DRS_SPECULARMATERIALSOURCE 
D3DRS_AMBIENTMATERIALSOURCE 
D3DRS_EMISSIVEMATERIALSOURCE 
D3DRS_VERTEXBLEND 
D3DRS_CLIPPLANEENABLE 
D3DRS_POINTSIZE 
D3DRS_POINTSIZE_MIN 
D3DRS_POINTSPRITEENABLE 
D3DRS_POINTSCALEENABLE 
D3DRS_POINTSCALE_A 
D3DRS_POINTSCALE_B 
D3DRS_POINTSCALE_C 
D3DRS_MULTISAMPLEANTIALIAS 
D3DRS_MULTISAMPLEMASK 
D3DRS_PATCHEDGESTYLE 
D3DRS_DEBUGMONITORTOKEN 
D3DRS_POINTSIZE_MAX 
D3DRS_INDEXEDVERTEXBLENDENABLE 
D3DRS_COLORWRITEENABLE 
D3DRS_TWEENFACTOR 
D3DRS_BLENDOP 
D3DRS_POSITIONDEGREE 
D3DRS_NORMALDEGREE 
D3DRS_SCISSORTESTENABLE 
D3DRS_SLOPESCALEDEPTHBIAS 
D3DRS_ANTIALIASEDLINEENABLE 
D3DRS_MINTESSELLATIONLEVEL 
D3DRS_MAXTESSELLATIONLEVEL 
D3DRS_ADAPTIVETESS_X 
D3DRS_ADAPTIVETESS_Y 
D3DRS_ADAPTIVETESS_Z 
D3DRS_ADAPTIVETESS_W 
D3DRS_ENABLEADAPTIVETESSELLATION 
D3DRS_TWOSIDEDSTENCILMODE 
D3DRS_CCW_STENCILFAIL 
D3DRS_CCW_STENCILZFAIL 
D3DRS_CCW_STENCILPASS 
D3DRS_CCW_STENCILFUNC 
D3DRS_COLORWRITEENABLE1 
D3DRS_COLORWRITEENABLE2 
D3DRS_COLORWRITEENABLE3 
D3DRS_BLENDFACTOR 
D3DRS_SRGBWRITEENABLE 
D3DRS_DEPTHBIAS 
D3DRS_WRAP8 
D3DRS_WRAP9 
D3DRS_WRAP10 
D3DRS_WRAP11 
D3DRS_WRAP12 
D3DRS_WRAP13 
D3DRS_WRAP14 
D3DRS_WRAP15 
D3DRS_SEPARATEALPHABLENDENABLE 
D3DRS_SRCBLENDALPHA 
D3DRS_DESTBLENDALPHA 
D3DRS_BLENDOPALPHA 
D3DRS_FORCE_DWORD 

Definition at line 919 of file d3d9types.h.

919  {
920  D3DRS_ZENABLE = 7,
921  D3DRS_FILLMODE = 8,
922  D3DRS_SHADEMODE = 9,
923  D3DRS_ZWRITEENABLE = 14,
925  D3DRS_LASTPIXEL = 16,
926  D3DRS_SRCBLEND = 19,
927  D3DRS_DESTBLEND = 20,
928  D3DRS_CULLMODE = 22,
929  D3DRS_ZFUNC = 23,
930  D3DRS_ALPHAREF = 24,
931  D3DRS_ALPHAFUNC = 25,
932  D3DRS_DITHERENABLE = 26,
934  D3DRS_FOGENABLE = 28,
936  D3DRS_FOGCOLOR = 34,
937  D3DRS_FOGTABLEMODE = 35,
938  D3DRS_FOGSTART = 36,
939  D3DRS_FOGEND = 37,
940  D3DRS_FOGDENSITY = 38,
942  D3DRS_STENCILENABLE = 52,
943  D3DRS_STENCILFAIL = 53,
944  D3DRS_STENCILZFAIL = 54,
945  D3DRS_STENCILPASS = 55,
946  D3DRS_STENCILFUNC = 56,
947  D3DRS_STENCILREF = 57,
948  D3DRS_STENCILMASK = 58,
950  D3DRS_TEXTUREFACTOR = 60,
951  D3DRS_WRAP0 = 128,
952  D3DRS_WRAP1 = 129,
953  D3DRS_WRAP2 = 130,
954  D3DRS_WRAP3 = 131,
955  D3DRS_WRAP4 = 132,
956  D3DRS_WRAP5 = 133,
957  D3DRS_WRAP6 = 134,
958  D3DRS_WRAP7 = 135,
959  D3DRS_CLIPPING = 136,
960  D3DRS_LIGHTING = 137,
961  D3DRS_AMBIENT = 139,
962  D3DRS_FOGVERTEXMODE = 140,
963  D3DRS_COLORVERTEX = 141,
964  D3DRS_LOCALVIEWER = 142,
970  D3DRS_VERTEXBLEND = 151,
971  D3DRS_CLIPPLANEENABLE = 152,
972  D3DRS_POINTSIZE = 154,
973  D3DRS_POINTSIZE_MIN = 155,
976  D3DRS_POINTSCALE_A = 158,
977  D3DRS_POINTSCALE_B = 159,
978  D3DRS_POINTSCALE_C = 160,
980  D3DRS_MULTISAMPLEMASK = 162,
981  D3DRS_PATCHEDGESTYLE = 163,
983  D3DRS_POINTSIZE_MAX = 166,
986  D3DRS_TWEENFACTOR = 170,
987  D3DRS_BLENDOP = 171,
988  D3DRS_POSITIONDEGREE = 172,
989  D3DRS_NORMALDEGREE = 173,
995  D3DRS_ADAPTIVETESS_X = 180,
996  D3DRS_ADAPTIVETESS_Y = 181,
997  D3DRS_ADAPTIVETESS_Z = 182,
998  D3DRS_ADAPTIVETESS_W = 183,
1001  D3DRS_CCW_STENCILFAIL = 186,
1002  D3DRS_CCW_STENCILZFAIL = 187,
1003  D3DRS_CCW_STENCILPASS = 188,
1004  D3DRS_CCW_STENCILFUNC = 189,
1008  D3DRS_BLENDFACTOR = 193,
1009  D3DRS_SRGBWRITEENABLE = 194,
1010  D3DRS_DEPTHBIAS = 195,
1011  D3DRS_WRAP8 = 198,
1012  D3DRS_WRAP9 = 199,
1013  D3DRS_WRAP10 = 200,
1014  D3DRS_WRAP11 = 201,
1015  D3DRS_WRAP12 = 202,
1016  D3DRS_WRAP13 = 203,
1017  D3DRS_WRAP14 = 204,
1018  D3DRS_WRAP15 = 205,
1020  D3DRS_SRCBLENDALPHA = 207,
1021  D3DRS_DESTBLENDALPHA = 208,
1022  D3DRS_BLENDOPALPHA = 209,
1023 
1024  D3DRS_FORCE_DWORD = 0x7fffffff
enum _D3DRENDERSTATETYPE D3DRENDERSTATETYPE

◆ _D3DRESOURCETYPE

Enumerator
D3DRTYPE_SURFACE 
D3DRTYPE_VOLUME 
D3DRTYPE_TEXTURE 
D3DRTYPE_VOLUMETEXTURE 
D3DRTYPE_CUBETEXTURE 
D3DRTYPE_VERTEXBUFFER 
D3DRTYPE_INDEXBUFFER 
D3DRTYPE_FORCE_DWORD 
D3DRTYPE_SURFACE 
D3DRTYPE_VOLUME 
D3DRTYPE_TEXTURE 
D3DRTYPE_VOLUMETEXTURE 
D3DRTYPE_CUBETEXTURE 
D3DRTYPE_VERTEXBUFFER 
D3DRTYPE_INDEXBUFFER 
D3DRTYPE_FORCE_DWORD 

Definition at line 1027 of file d3d9types.h.

◆ _D3DSAMPLER_TEXTURE_TYPE

Enumerator
D3DSTT_UNKNOWN 
D3DSTT_1D 
D3DSTT_2D 
D3DSTT_CUBE 
D3DSTT_VOLUME 
D3DSTT_FORCE_DWORD 

Definition at line 469 of file d3d9types.h.

469  {
475 
476  D3DSTT_FORCE_DWORD = 0x7FFFFFFF
enum _D3DSAMPLER_TEXTURE_TYPE D3DSAMPLER_TEXTURE_TYPE
#define D3DSP_TEXTURETYPE_SHIFT
Definition: d3d9types.h:466

◆ _D3DSAMPLERSTATETYPE

Enumerator
D3DSAMP_ADDRESSU 
D3DSAMP_ADDRESSV 
D3DSAMP_ADDRESSW 
D3DSAMP_BORDERCOLOR 
D3DSAMP_MAGFILTER 
D3DSAMP_MINFILTER 
D3DSAMP_MIPFILTER 
D3DSAMP_MIPMAPLODBIAS 
D3DSAMP_MAXMIPLEVEL 
D3DSAMP_MAXANISOTROPY 
D3DSAMP_SRGBTEXTURE 
D3DSAMP_ELEMENTINDEX 
D3DSAMP_DMAPOFFSET 
D3DSAMP_FORCE_DWORD 

Definition at line 1198 of file d3d9types.h.

◆ _D3DSHADEMODE

Enumerator
D3DSHADE_FLAT 
D3DSHADE_GOURAUD 
D3DSHADE_PHONG 
D3DSHADE_FORCE_DWORD 
D3DSHADE_FLAT 
D3DSHADE_GOURAUD 
D3DSHADE_PHONG 
D3DSHADE_FORCE_DWORD 

Definition at line 1041 of file d3d9types.h.

1041  {
1042  D3DSHADE_FLAT = 1,
1043  D3DSHADE_GOURAUD = 2,
1044  D3DSHADE_PHONG = 3,
1045 
1046