RetroArch
Classes | Macros | Typedefs | Enumerations
d3d8types.h File Reference
#include <float.h>
Include dependency graph for d3d8types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _D3DVECTOR
 
struct  _D3DCOLORVALUE
 The text renderer interface represents a set of application-defined callbacks that perform rendering of text, inline objects, and decorations such as underlines. More...
 
struct  _D3DRECT
 
struct  _D3DMATRIX
 
struct  _D3DVIEWPORT8
 
struct  _D3DCLIPSTATUS8
 
struct  _D3DMATERIAL8
 
struct  _D3DLIGHT8
 
struct  _D3DLINEPATTERN
 
struct  _D3DDISPLAYMODE
 
struct  _D3DDEVICE_CREATION_PARAMETERS
 
struct  _D3DPRESENT_PARAMETERS_
 
struct  _D3DGAMMARAMP
 
struct  _D3DVERTEXBUFFER_DESC
 
struct  _D3DINDEXBUFFER_DESC
 
struct  _D3DSURFACE_DESC
 
struct  _D3DVOLUME_DESC
 
struct  _D3DLOCKED_RECT
 
struct  _D3DBOX
 
struct  _D3DLOCKED_BOX
 
struct  _D3DRANGE
 
struct  _D3DRECTPATCH_INFO
 
struct  _D3DTRIPATCH_INFO
 
struct  _D3DADAPTER_IDENTIFIER8
 
struct  _D3DRASTER_STATUS
 
struct  _D3DRESOURCESTATS
 
struct  _D3DDEVINFO_RESOURCEMANAGER
 
struct  _D3DDEVINFO_D3DVERTEXSTATS
 

Macros

#define DIRECT3D_VERSION   0x0800
 
#define D3DCOLOR_DEFINED
 
#define D3DCOLOR_ARGB(a, r, g, b)   ((D3DCOLOR)((((a)&0xff)<<24)|(((r)&0xff)<<16)|(((g)&0xff)<<8)|((b)&0xff)))
 
#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_COLORVALUE(r, g, b, a)   D3DCOLOR_RGBA((DWORD)((r)*255.f),(DWORD)((g)*255.f),(DWORD)((b)*255.f),(DWORD)((a)*255.f))
 
#define D3DVECTOR_DEFINED
 
#define D3DCOLORVALUE_DEFINED
 
#define D3DRECT_DEFINED
 
#define D3DMATRIX_DEFINED
 
#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 D3DCS_LEFT   0x00000001L
 
#define D3DCS_RIGHT   0x00000002L
 
#define D3DCS_TOP   0x00000004L
 
#define D3DCS_BOTTOM   0x00000008L
 
#define D3DCS_FRONT   0x00000010L
 
#define D3DCS_BACK   0x00000020L
 
#define D3DCS_PLANE0   0x00000040L
 
#define D3DCS_PLANE1   0x00000080L
 
#define D3DCS_PLANE2   0x00000100L
 
#define D3DCS_PLANE3   0x00000200L
 
#define D3DCS_PLANE4   0x00000400L
 
#define D3DCS_PLANE5   0x00000800L
 
#define D3DCS_ALL
 
#define D3DCLEAR_TARGET   0x00000001l /* Clear target surface */
 
#define D3DCLEAR_ZBUFFER   0x00000002l /* Clear target z buffer */
 
#define D3DCLEAR_STENCIL   0x00000004l /* Clear stencil planes */
 
#define D3DTS_WORLDMATRIX(index)   (D3DTRANSFORMSTATETYPE)(index + 256)
 
#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 D3DRENDERSTATE_WRAPBIAS   128UL
 
#define D3DWRAP_U   0x00000001L
 
#define D3DWRAP_V   0x00000002L
 
#define D3DWRAP_W   0x00000004L
 
#define D3DWRAPCOORD_0   0x00000001L /* same as D3DWRAP_U */
 
#define D3DWRAPCOORD_1   0x00000002L /* same as D3DWRAP_V */
 
#define D3DWRAPCOORD_2   0x00000004L /* same as D3DWRAP_W */
 
#define D3DWRAPCOORD_3   0x00000008L
 
#define D3DCOLORWRITEENABLE_RED   (1L<<0)
 
#define D3DCOLORWRITEENABLE_GREEN   (1L<<1)
 
#define D3DCOLORWRITEENABLE_BLUE   (1L<<2)
 
#define D3DCOLORWRITEENABLE_ALPHA   (1L<<3)
 
#define D3DTSS_TCI_PASSTHRU   0x00000000
 
#define D3DTSS_TCI_CAMERASPACENORMAL   0x00010000
 
#define D3DTSS_TCI_CAMERASPACEPOSITION   0x00020000
 
#define D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR   0x00030000
 
#define D3DTA_SELECTMASK   0x0000000f /* mask for arg selector */
 
#define D3DTA_DIFFUSE   0x00000000 /* select diffuse color (read only) */
 
#define D3DTA_CURRENT   0x00000001 /* select stage destination register (read/write) */
 
#define D3DTA_TEXTURE   0x00000002 /* select texture color (read only) */
 
#define D3DTA_TFACTOR   0x00000003 /* select D3DRS_TEXTUREFACTOR (read only) */
 
#define D3DTA_SPECULAR   0x00000004 /* select specular color (read only) */
 
#define D3DTA_TEMP   0x00000005 /* select temporary register color (read/write) */
 
#define D3DTA_COMPLEMENT   0x00000010 /* take 1.0 - x (read modifier) */
 
#define D3DTA_ALPHAREPLICATE   0x00000020 /* replicate alpha to color components (read modifier) */
 
#define D3DPV_DONOTCOPYDATA   (1 << 0)
 
#define D3DFVF_RESERVED0   0x001
 
#define D3DFVF_POSITION_MASK   0x00E
 
#define D3DFVF_XYZ   0x002
 
#define D3DFVF_XYZRHW   0x004
 
#define D3DFVF_XYZB1   0x006
 
#define D3DFVF_XYZB2   0x008
 
#define D3DFVF_XYZB3   0x00a
 
#define D3DFVF_XYZB4   0x00c
 
#define D3DFVF_XYZB5   0x00e
 
#define D3DFVF_NORMAL   0x010
 
#define D3DFVF_PSIZE   0x020
 
#define D3DFVF_DIFFUSE   0x040
 
#define D3DFVF_SPECULAR   0x080
 
#define D3DFVF_TEXCOUNT_MASK   0xf00
 
#define D3DFVF_TEXCOUNT_SHIFT   8
 
#define D3DFVF_TEX0   0x000
 
#define D3DFVF_TEX1   0x100
 
#define D3DFVF_TEX2   0x200
 
#define D3DFVF_TEX3   0x300
 
#define D3DFVF_TEX4   0x400
 
#define D3DFVF_TEX5   0x500
 
#define D3DFVF_TEX6   0x600
 
#define D3DFVF_TEX7   0x700
 
#define D3DFVF_TEX8   0x800
 
#define D3DFVF_LASTBETA_UBYTE4   0x1000
 
#define D3DFVF_RESERVED2   0xE000 /* 4 reserved bits */
 
#define D3DVSD_TOKENTYPESHIFT   29
 
#define D3DVSD_TOKENTYPEMASK   (7 << D3DVSD_TOKENTYPESHIFT)
 
#define D3DVSD_STREAMNUMBERSHIFT   0
 
#define D3DVSD_STREAMNUMBERMASK   (0xF << D3DVSD_STREAMNUMBERSHIFT)
 
#define D3DVSD_DATALOADTYPESHIFT   28
 
#define D3DVSD_DATALOADTYPEMASK   (0x1 << D3DVSD_DATALOADTYPESHIFT)
 
#define D3DVSD_DATATYPESHIFT   16
 
#define D3DVSD_DATATYPEMASK   (0xF << D3DVSD_DATATYPESHIFT)
 
#define D3DVSD_SKIPCOUNTSHIFT   16
 
#define D3DVSD_SKIPCOUNTMASK   (0xF << D3DVSD_SKIPCOUNTSHIFT)
 
#define D3DVSD_VERTEXREGSHIFT   0
 
#define D3DVSD_VERTEXREGMASK   (0x1F << D3DVSD_VERTEXREGSHIFT)
 
#define D3DVSD_VERTEXREGINSHIFT   20
 
#define D3DVSD_VERTEXREGINMASK   (0xF << D3DVSD_VERTEXREGINSHIFT)
 
#define D3DVSD_CONSTCOUNTSHIFT   25
 
#define D3DVSD_CONSTCOUNTMASK   (0xF << D3DVSD_CONSTCOUNTSHIFT)
 
#define D3DVSD_CONSTADDRESSSHIFT   0
 
#define D3DVSD_CONSTADDRESSMASK   (0x7F << D3DVSD_CONSTADDRESSSHIFT)
 
#define D3DVSD_CONSTRSSHIFT   16
 
#define D3DVSD_CONSTRSMASK   (0x1FFF << D3DVSD_CONSTRSSHIFT)
 
#define D3DVSD_EXTCOUNTSHIFT   24
 
#define D3DVSD_EXTCOUNTMASK   (0x1F << D3DVSD_EXTCOUNTSHIFT)
 
#define D3DVSD_EXTINFOSHIFT   0
 
#define D3DVSD_EXTINFOMASK   (0xFFFFFF << D3DVSD_EXTINFOSHIFT)
 
#define D3DVSD_MAKETOKENTYPE(tokenType)   ((tokenType << D3DVSD_TOKENTYPESHIFT) & D3DVSD_TOKENTYPEMASK)
 
#define D3DVSD_STREAM(_StreamNumber)   (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAM) | (_StreamNumber))
 
#define D3DVSD_STREAMTESSSHIFT   28
 
#define D3DVSD_STREAMTESSMASK   (1 << D3DVSD_STREAMTESSSHIFT)
 
#define D3DVSD_STREAM_TESS()   (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAM) | (D3DVSD_STREAMTESSMASK))
 
#define D3DVSD_REG(_VertexRegister, _Type)
 
#define D3DVSD_SKIP(_DWORDCount)
 
#define D3DVSD_CONST(_ConstantAddress, _Count)
 
#define D3DVSD_TESSNORMAL(_VertexRegisterIn, _VertexRegisterOut)
 
#define D3DVSD_TESSUV(_VertexRegister)
 
#define D3DVSD_END()   0xFFFFFFFF
 
#define D3DVSD_NOP()   0x00000000
 
#define D3DVSDT_FLOAT1   0x00 /* 1D float expanded to (value, 0., 0., 1.) */
 
#define D3DVSDT_FLOAT2   0x01 /* 2D float expanded to (value, value, 0., 1.) */
 
#define D3DVSDT_FLOAT3   0x02 /* 3D float expanded to (value, value, value, 1.) */
 
#define D3DVSDT_FLOAT4   0x03 /* 4D float */
 
#define D3DVSDT_D3DCOLOR
 
#define D3DVSDT_UBYTE4   0x05 /* 4D unsigned byte */
 
#define D3DVSDT_SHORT2   0x06 /* 2D signed short expanded to (value, value, 0., 1.) */
 
#define D3DVSDT_SHORT4   0x07 /* 4D signed short */
 
#define D3DVSDE_POSITION   0
 
#define D3DVSDE_BLENDWEIGHT   1
 
#define D3DVSDE_BLENDINDICES   2
 
#define D3DVSDE_NORMAL   3
 
#define D3DVSDE_PSIZE   4
 
#define D3DVSDE_DIFFUSE   5
 
#define D3DVSDE_SPECULAR   6
 
#define D3DVSDE_TEXCOORD0   7
 
#define D3DVSDE_TEXCOORD1   8
 
#define D3DVSDE_TEXCOORD2   9
 
#define D3DVSDE_TEXCOORD3   10
 
#define D3DVSDE_TEXCOORD4   11
 
#define D3DVSDE_TEXCOORD5   12
 
#define D3DVSDE_TEXCOORD6   13
 
#define D3DVSDE_TEXCOORD7   14
 
#define D3DVSDE_POSITION2   15
 
#define D3DVSDE_NORMAL2   16
 
#define D3DDP_MAXTEXCOORD   8
 
#define D3DSI_OPCODE_MASK   0x0000FFFF
 
#define D3DSI_COISSUE   0x40000000
 
#define D3DSP_REGNUM_MASK   0x00001FFF
 
#define D3DSP_WRITEMASK_0   0x00010000 /* Component 0 (X;Red) */
 
#define D3DSP_WRITEMASK_1   0x00020000 /* Component 1 (Y;Green) */
 
#define D3DSP_WRITEMASK_2   0x00040000 /* Component 2 (Z;Blue) */
 
#define D3DSP_WRITEMASK_3   0x00080000 /* Component 3 (W;Alpha) */
 
#define D3DSP_WRITEMASK_ALL   0x000F0000 /* All Components */
 
#define D3DSP_DSTMOD_SHIFT   20
 
#define D3DSP_DSTMOD_MASK   0x00F00000
 
#define D3DSP_DSTSHIFT_SHIFT   24
 
#define D3DSP_DSTSHIFT_MASK   0x0F000000
 
#define D3DSP_REGTYPE_SHIFT   28
 
#define D3DSP_REGTYPE_MASK   0x70000000
 
#define D3DVS_ADDRESSMODE_SHIFT   13
 
#define D3DVS_ADDRESSMODE_MASK   (1 << D3DVS_ADDRESSMODE_SHIFT)
 
#define D3DVS_SWIZZLE_SHIFT   16
 
#define D3DVS_SWIZZLE_MASK   0x00FF0000
 
#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_SWIZZLE_SHIFT   16
 
#define D3DSP_SWIZZLE_MASK   0x00FF0000
 
#define D3DSP_NOSWIZZLE
 
#define D3DSP_REPLICATERED
 
#define D3DSP_REPLICATEGREEN
 
#define D3DSP_REPLICATEBLUE
 
#define D3DSP_REPLICATEALPHA
 
#define D3DSP_SRCMOD_SHIFT   24
 
#define D3DSP_SRCMOD_MASK   0x0F000000
 
#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   0x7FFF0000
 
#define D3DSHADER_COMMENT(_DWordSize)   ((((_DWordSize)<<D3DSI_COMMENTSIZE_SHIFT)&D3DSI_COMMENTSIZE_MASK)|D3DSIO_COMMENT)
 
#define D3DPS_END()   0x0000FFFF
 
#define D3DVS_END()   0x0000FFFF
 
#define D3DFVF_TEXTUREFORMAT2   0 /* Two floating point values */
 
#define D3DFVF_TEXTUREFORMAT1   3 /* One floating point value */
 
#define D3DFVF_TEXTUREFORMAT3   1 /* Three floating point values */
 
#define D3DFVF_TEXTUREFORMAT4   2 /* Four floating point values */
 
#define D3DFVF_TEXCOORDSIZE3(CoordIndex)   (D3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16))
 
#define D3DFVF_TEXCOORDSIZE2(CoordIndex)   (D3DFVF_TEXTUREFORMAT2)
 
#define D3DFVF_TEXCOORDSIZE4(CoordIndex)   (D3DFVF_TEXTUREFORMAT4 << (CoordIndex*2 + 16))
 
#define D3DFVF_TEXCOORDSIZE1(CoordIndex)   (D3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16))
 
#define MAKEFOURCC(ch0, ch1, ch2, ch3)
 
#define D3DPRESENT_RATE_DEFAULT   0x00000000
 
#define D3DPRESENT_RATE_UNLIMITED   0x7fffffff
 
#define D3DPRESENTFLAG_LOCKABLE_BACKBUFFER   0x00000001
 
#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 D3DLOCK_READONLY   0x00000010L
 
#define D3DLOCK_DISCARD   0x00002000L
 
#define D3DLOCK_NOOVERWRITE   0x00001000L
 
#define D3DLOCK_NOSYSLOCK   0x00000800L
 
#define D3DLOCK_NO_DIRTY_UPDATE   0x00008000L
 
#define MAX_DEVICE_IDENTIFIER_STRING   512
 
#define D3DDEVINFOID_RESOURCEMANAGER   5 /* Used with D3DDEVINFO_RESOURCEMANAGER */
 
#define D3DDEVINFOID_VERTEXSTATS   6 /* Used with D3DDEVINFO_D3DVERTEXSTATS */
 
#define D3DRTYPECOUNT   (D3DRTYPE_INDEXBUFFER+1)
 

Typedefs

typedef DWORD D3DCOLOR
 
typedef struct _D3DVECTOR D3DVECTOR
 
typedef struct _D3DCOLORVALUE D3DCOLORVALUE
 
typedef struct _D3DRECT D3DRECT
 
typedef struct _D3DMATRIX D3DMATRIX
 
typedef struct _D3DVIEWPORT8 D3DVIEWPORT8
 
typedef struct _D3DCLIPSTATUS8 D3DCLIPSTATUS8
 
typedef struct _D3DMATERIAL8 D3DMATERIAL8
 
typedef enum _D3DLIGHTTYPE D3DLIGHTTYPE
 
typedef struct _D3DLIGHT8 D3DLIGHT8
 
typedef enum _D3DSHADEMODE D3DSHADEMODE
 
typedef enum _D3DFILLMODE D3DFILLMODE
 
typedef struct _D3DLINEPATTERN D3DLINEPATTERN
 
typedef enum _D3DBLEND D3DBLEND
 
typedef enum _D3DBLENDOP D3DBLENDOP
 
typedef enum _D3DTEXTUREADDRESS D3DTEXTUREADDRESS
 
typedef enum _D3DCULL D3DCULL
 
typedef enum _D3DCMPFUNC D3DCMPFUNC
 
typedef enum _D3DSTENCILOP D3DSTENCILOP
 
typedef enum _D3DFOGMODE D3DFOGMODE
 
typedef enum _D3DZBUFFERTYPE D3DZBUFFERTYPE
 
typedef enum _D3DPRIMITIVETYPE D3DPRIMITIVETYPE
 
typedef enum _D3DTRANSFORMSTATETYPE D3DTRANSFORMSTATETYPE
 
typedef enum _D3DRENDERSTATETYPE D3DRENDERSTATETYPE
 
typedef enum _D3DMATERIALCOLORSOURCE D3DMATERIALCOLORSOURCE
 
typedef enum _D3DTEXTURESTAGESTATETYPE D3DTEXTURESTAGESTATETYPE
 
typedef enum _D3DTEXTUREOP D3DTEXTUREOP
 
typedef enum _D3DTEXTUREFILTERTYPE D3DTEXTUREFILTERTYPE
 
typedef enum _D3DVSD_TOKENTYPE D3DVSD_TOKENTYPE
 
typedef enum _D3DSHADER_INSTRUCTION_OPCODE_TYPE D3DSHADER_INSTRUCTION_OPCODE_TYPE
 
typedef enum _D3DSHADER_PARAM_DSTMOD_TYPE D3DSHADER_PARAM_DSTMOD_TYPE
 
typedef enum _D3DSHADER_PARAM_REGISTER_TYPE D3DSHADER_PARAM_REGISTER_TYPE
 
typedef enum _D3DVS_RASTOUT_OFFSETS D3DVS_RASTOUT_OFFSETS
 
typedef enum _D3DVS_ADDRESSMODE_TYPE D3DVS_ADDRESSMODE_TYPE
 
typedef enum _D3DSHADER_PARAM_SRCMOD_TYPE D3DSHADER_PARAM_SRCMOD_TYPE
 
typedef enum _D3DBASISTYPE D3DBASISTYPE
 
typedef enum _D3DORDERTYPE D3DORDERTYPE
 
typedef enum _D3DPATCHEDGESTYLE D3DPATCHEDGESTYLE
 
typedef enum _D3DSTATEBLOCKTYPE D3DSTATEBLOCKTYPE
 
typedef enum _D3DVERTEXBLENDFLAGS D3DVERTEXBLENDFLAGS
 
typedef enum _D3DTEXTURETRANSFORMFLAGS D3DTEXTURETRANSFORMFLAGS
 
typedef enum _D3DDEVTYPE D3DDEVTYPE
 
typedef enum _D3DMULTISAMPLE_TYPE D3DMULTISAMPLE_TYPE
 
typedef enum _D3DFORMAT D3DFORMAT
 
typedef struct _D3DDISPLAYMODE D3DDISPLAYMODE
 
typedef struct _D3DDEVICE_CREATION_PARAMETERS D3DDEVICE_CREATION_PARAMETERS
 
typedef enum _D3DSWAPEFFECT D3DSWAPEFFECT
 
typedef enum _D3DPOOL D3DPOOL
 
typedef struct _D3DPRESENT_PARAMETERS_ D3DPRESENT_PARAMETERS
 
typedef struct _D3DGAMMARAMP D3DGAMMARAMP
 
typedef enum _D3DBACKBUFFER_TYPE D3DBACKBUFFER_TYPE
 
typedef enum _D3DRESOURCETYPE D3DRESOURCETYPE
 
typedef enum _D3DCUBEMAP_FACES D3DCUBEMAP_FACES
 
typedef struct _D3DVERTEXBUFFER_DESC D3DVERTEXBUFFER_DESC
 
typedef struct _D3DINDEXBUFFER_DESC D3DINDEXBUFFER_DESC
 
typedef struct _D3DSURFACE_DESC D3DSURFACE_DESC
 
typedef struct _D3DVOLUME_DESC D3DVOLUME_DESC
 
typedef struct _D3DLOCKED_RECT D3DLOCKED_RECT
 
typedef struct _D3DBOX D3DBOX
 
typedef struct _D3DLOCKED_BOX D3DLOCKED_BOX
 
typedef struct _D3DRANGE D3DRANGE
 
typedef struct _D3DRECTPATCH_INFO D3DRECTPATCH_INFO
 
typedef struct _D3DTRIPATCH_INFO D3DTRIPATCH_INFO
 
typedef struct _D3DADAPTER_IDENTIFIER8 D3DADAPTER_IDENTIFIER8
 
typedef struct _D3DRASTER_STATUS D3DRASTER_STATUS
 
typedef enum _D3DDEBUGMONITORTOKENS D3DDEBUGMONITORTOKENS
 
typedef struct _D3DRESOURCESTATS D3DRESOURCESTATS
 
typedef struct _D3DDEVINFO_RESOURCEMANAGER D3DDEVINFO_RESOURCEMANAGER
 
typedef struct _D3DDEVINFO_RESOURCEMANAGERLPD3DDEVINFO_RESOURCEMANAGER
 
typedef struct _D3DDEVINFO_D3DVERTEXSTATS D3DDEVINFO_D3DVERTEXSTATS
 
typedef struct _D3DDEVINFO_D3DVERTEXSTATSLPD3DDEVINFO_D3DVERTEXSTATS
 

Enumerations

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  _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  _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  _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_SRCCOLOR2 = 16, D3DBLEND_INVSRCCOLOR2 = 17, 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  _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
}
 
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  _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  _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
}
 
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
}
 
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
}
 
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  _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
}
 
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  _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
}
 
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
}
 
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
}
 
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_PYRAMIDALQUAD = 6,
  D3DTEXF_GAUSSIANQUAD = 7, D3DTEXF_CONVOLUTIONMONO = 8, D3DTEXF_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DVSD_TOKENTYPE {
  D3DVSD_TOKEN_NOP = 0, D3DVSD_TOKEN_STREAM, D3DVSD_TOKEN_STREAMDATA, D3DVSD_TOKEN_TESSELLATOR,
  D3DVSD_TOKEN_CONSTMEM, D3DVSD_TOKEN_EXT, D3DVSD_TOKEN_END = 7, D3DVSD_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DSHADER_INSTRUCTION_OPCODE_TYPE {
  D3DSIO_NOP = 0, D3DSIO_MOV, D3DSIO_ADD, D3DSIO_SUB,
  D3DSIO_MAD, D3DSIO_MUL, D3DSIO_RCP, D3DSIO_RSQ,
  D3DSIO_DP3, D3DSIO_DP4, D3DSIO_MIN, D3DSIO_MAX,
  D3DSIO_SLT, D3DSIO_SGE, D3DSIO_EXP, D3DSIO_LOG,
  D3DSIO_LIT, D3DSIO_DST, D3DSIO_LRP, D3DSIO_FRC,
  D3DSIO_M4x4, D3DSIO_M4x3, D3DSIO_M3x4, D3DSIO_M3x3,
  D3DSIO_M3x2, D3DSIO_TEXCOORD = 64, D3DSIO_TEXKILL, D3DSIO_TEX,
  D3DSIO_TEXBEM, D3DSIO_TEXBEML, D3DSIO_TEXREG2AR, D3DSIO_TEXREG2GB,
  D3DSIO_TEXM3x2PAD, D3DSIO_TEXM3x2TEX, D3DSIO_TEXM3x3PAD, D3DSIO_TEXM3x3TEX,
  D3DSIO_TEXM3x3DIFF, D3DSIO_TEXM3x3SPEC, D3DSIO_TEXM3x3VSPEC, D3DSIO_EXPP,
  D3DSIO_LOGP, D3DSIO_CND, D3DSIO_DEF, D3DSIO_TEXREG2RGB,
  D3DSIO_TEXDP3TEX, D3DSIO_TEXM3x2DEPTH, D3DSIO_TEXDP3, D3DSIO_TEXM3x3,
  D3DSIO_TEXDEPTH, D3DSIO_CMP, D3DSIO_BEM, D3DSIO_PHASE = 0xFFFD,
  D3DSIO_COMMENT = 0xFFFE, D3DSIO_END = 0xFFFF, D3DSIO_FORCE_DWORD = 0x7fffffff, D3DSIO_NOP = 0,
  D3DSIO_MOV, D3DSIO_ADD, D3DSIO_SUB, D3DSIO_MAD,
  D3DSIO_MUL, D3DSIO_RCP, D3DSIO_RSQ, D3DSIO_DP3,
  D3DSIO_DP4, D3DSIO_MIN, D3DSIO_MAX, D3DSIO_SLT,
  D3DSIO_SGE, D3DSIO_EXP, D3DSIO_LOG, D3DSIO_LIT,
  D3DSIO_DST, D3DSIO_LRP, D3DSIO_FRC, D3DSIO_M4x4,
  D3DSIO_M4x3, D3DSIO_M3x4, D3DSIO_M3x3, D3DSIO_M3x2,
  D3DSIO_CALL, D3DSIO_CALLNZ, D3DSIO_LOOP, D3DSIO_RET,
  D3DSIO_ENDLOOP, D3DSIO_LABEL, D3DSIO_DCL, D3DSIO_POW,
  D3DSIO_CRS, D3DSIO_SGN, D3DSIO_ABS, D3DSIO_NRM,
  D3DSIO_SINCOS, D3DSIO_REP, D3DSIO_ENDREP, D3DSIO_IF,
  D3DSIO_IFC, D3DSIO_ELSE, D3DSIO_ENDIF, D3DSIO_BREAK,
  D3DSIO_BREAKC, D3DSIO_MOVA, D3DSIO_DEFB, D3DSIO_DEFI,
  D3DSIO_TEXCOORD = 64, D3DSIO_TEXKILL, D3DSIO_TEX, D3DSIO_TEXBEM,
  D3DSIO_TEXBEML, D3DSIO_TEXREG2AR, D3DSIO_TEXREG2GB, D3DSIO_TEXM3x2PAD,
  D3DSIO_TEXM3x2TEX, D3DSIO_TEXM3x3PAD, D3DSIO_TEXM3x3TEX, D3DSIO_RESERVED0,
  D3DSIO_TEXM3x3SPEC, D3DSIO_TEXM3x3VSPEC, D3DSIO_EXPP, D3DSIO_LOGP,
  D3DSIO_CND, D3DSIO_DEF, D3DSIO_TEXREG2RGB, D3DSIO_TEXDP3TEX,
  D3DSIO_TEXM3x2DEPTH, D3DSIO_TEXDP3, D3DSIO_TEXM3x3, D3DSIO_TEXDEPTH,
  D3DSIO_CMP, D3DSIO_BEM, D3DSIO_DP2ADD, D3DSIO_DSX,
  D3DSIO_DSY, D3DSIO_TEXLDD, D3DSIO_SETP, D3DSIO_TEXLDL,
  D3DSIO_BREAKP, D3DSIO_PHASE = 0xFFFD, D3DSIO_COMMENT = 0xFFFE, D3DSIO_END = 0xFFFF,
  D3DSIO_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DSHADER_PARAM_DSTMOD_TYPE { D3DSPDM_NONE = 0<<D3DSP_DSTMOD_SHIFT, D3DSPDM_SATURATE = 1<<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  _D3DVS_RASTOUT_OFFSETS {
  D3DSRO_POSITION = 0, D3DSRO_FOG, D3DSRO_POINT_SIZE, D3DSRO_FORCE_DWORD = 0x7fffffff,
  D3DSRO_POSITION = 0, D3DSRO_FOG, D3DSRO_POINT_SIZE, 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_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  _D3DBASISTYPE {
  D3DBASIS_BEZIER = 0, D3DBASIS_BSPLINE = 1, D3DBASIS_INTERPOLATE = 2, D3DBASIS_FORCE_DWORD = 0x7fffffff,
  D3DBASIS_BEZIER = 0, D3DBASIS_BSPLINE = 1, D3DBASIS_CATMULL_ROM = 2, D3DBASIS_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DORDERTYPE {
  D3DORDER_LINEAR = 1, D3DORDER_QUADRATIC = 2, D3DORDER_CUBIC = 3, D3DORDER_QUINTIC = 5,
  D3DORDER_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  _D3DSTATEBLOCKTYPE {
  D3DSBT_ALL = 1, D3DSBT_PIXELSTATE = 2, D3DSBT_VERTEXSTATE = 3, D3DSBT_FORCE_DWORD = 0x7fffffff,
  D3DSBT_ALL = 1, D3DSBT_PIXELSTATE = 2, D3DSBT_VERTEXSTATE = 3, D3DSBT_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DVERTEXBLENDFLAGS {
  D3DVBF_DISABLE = 0, D3DVBF_1WEIGHTS = 1, D3DVBF_2WEIGHTS = 2, D3DVBF_3WEIGHTS = 3,
  D3DVBF_TWEENING = 255, D3DVBF_0WEIGHTS = 256, D3DVBF_FORCE_DWORD = 0x7fffffff, D3DVBF_DISABLE = 0,
  D3DVBF_1WEIGHTS = 1, D3DVBF_2WEIGHTS = 2, D3DVBF_3WEIGHTS = 3, D3DVBF_TWEENING = 255,
  D3DVBF_0WEIGHTS = 256, D3DVBF_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
}
 
enum  _D3DDEVTYPE {
  D3DDEVTYPE_HAL = 1, D3DDEVTYPE_REF = 2, D3DDEVTYPE_SW = 3, D3DDEVTYPE_FORCE_DWORD = 0x7fffffff,
  D3DDEVTYPE_HAL = 1, D3DDEVTYPE_REF = 2, D3DDEVTYPE_SW = 3, D3DDEVTYPE_NULLREF = 4,
  D3DDEVTYPE_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  _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 =0x7fffffff,
  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_R8G8_B8G8 = MAKEFOURCC('R', 'G', 'B', 'G'), D3DFMT_YUY2 = MAKEFOURCC('Y', 'U', 'Y', '2'),
  D3DFMT_G8R8_G8B8 = MAKEFOURCC('G', 'R', 'G', 'B'), 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_D24X8 = 77, D3DFMT_D24X4S4 = 79,
  D3DFMT_D16 = 80, D3DFMT_D32F_LOCKABLE = 82, D3DFMT_D24FS8 = 83, D3DFMT_D32_LOCKABLE = 84,
  D3DFMT_S8_LOCKABLE = 85, D3DFMT_L16 = 81, D3DFMT_VERTEXDATA =100, D3DFMT_INDEX16 =101,
  D3DFMT_INDEX32 =102, D3DFMT_Q16W16V16U16 =110, D3DFMT_MULTI2_ARGB8 = MAKEFOURCC('M','E','T','1'), D3DFMT_R16F = 111,
  D3DFMT_G16R16F = 112, D3DFMT_A16B16G16R16F = 113, D3DFMT_R32F = 114, D3DFMT_G32R32F = 115,
  D3DFMT_A32B32G32R32F = 116, D3DFMT_CxV8U8 = 117, D3DFMT_A1 = 118, D3DFMT_A2B10G10R10_XR_BIAS = 119,
  D3DFMT_BINARYBUFFER = 199, D3DFMT_FORCE_DWORD =0x7fffffff
}
 
enum  _D3DSWAPEFFECT {
  D3DSWAPEFFECT_DISCARD = 1, D3DSWAPEFFECT_FLIP = 2, D3DSWAPEFFECT_COPY = 3, D3DSWAPEFFECT_COPY_VSYNC = 4,
  D3DSWAPEFFECT_FORCE_DWORD = 0x7fffffff, D3DSWAPEFFECT_DISCARD = 1, D3DSWAPEFFECT_FLIP = 2, D3DSWAPEFFECT_COPY = 3,
  D3DSWAPEFFECT_OVERLAY = 4, D3DSWAPEFFECT_FLIPEX = 5, D3DSWAPEFFECT_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  _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  _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  _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 = 0x7fffffff, 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 = 0x7fffffff
}
 
enum  _D3DDEBUGMONITORTOKENS {
  D3DDMT_ENABLE = 0, D3DDMT_DISABLE = 1, D3DDMT_FORCE_DWORD = 0x7fffffff, D3DDMT_ENABLE = 0,
  D3DDMT_DISABLE = 1, D3DDMT_FORCE_DWORD = 0x7fffffff
}
 

Macro Definition Documentation

◆ D3DCLEAR_STENCIL

#define D3DCLEAR_STENCIL   0x00000004l /* Clear stencil planes */

◆ D3DCLEAR_TARGET

#define D3DCLEAR_TARGET   0x00000001l /* Clear target surface */

◆ D3DCLEAR_ZBUFFER

#define D3DCLEAR_ZBUFFER   0x00000002l /* Clear target z buffer */

◆ D3DCLIPPLANE0

#define D3DCLIPPLANE0   (1 << 0)

◆ D3DCLIPPLANE1

#define D3DCLIPPLANE1   (1 << 1)

◆ D3DCLIPPLANE2

#define D3DCLIPPLANE2   (1 << 2)

◆ D3DCLIPPLANE3

#define D3DCLIPPLANE3   (1 << 3)

◆ D3DCLIPPLANE4

#define D3DCLIPPLANE4   (1 << 4)

◆ D3DCLIPPLANE5

#define D3DCLIPPLANE5   (1 << 5)

◆ D3DCOLOR_ARGB

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

◆ 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))

◆ D3DCOLOR_DEFINED

#define D3DCOLOR_DEFINED

◆ D3DCOLOR_RGBA

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

◆ D3DCOLOR_XRGB

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

◆ D3DCOLORVALUE_DEFINED

#define D3DCOLORVALUE_DEFINED

◆ D3DCOLORWRITEENABLE_ALPHA

#define D3DCOLORWRITEENABLE_ALPHA   (1L<<3)

◆ D3DCOLORWRITEENABLE_BLUE

#define D3DCOLORWRITEENABLE_BLUE   (1L<<2)

◆ D3DCOLORWRITEENABLE_GREEN

#define D3DCOLORWRITEENABLE_GREEN   (1L<<1)

◆ D3DCOLORWRITEENABLE_RED

#define D3DCOLORWRITEENABLE_RED   (1L<<0)

◆ D3DCS_ALL

#define D3DCS_ALL
Value:
D3DCS_RIGHT | \
D3DCS_TOP | \
D3DCS_BOTTOM | \
D3DCS_FRONT | \
D3DCS_BACK | \
D3DCS_PLANE0 | \
D3DCS_PLANE1 | \
D3DCS_PLANE2 | \
D3DCS_PLANE3 | \
D3DCS_PLANE4 | \
D3DCS_PLANE5)
#define D3DCS_LEFT
Definition: d3d8types.h:120

◆ D3DCS_BACK

#define D3DCS_BACK   0x00000020L

◆ D3DCS_BOTTOM

#define D3DCS_BOTTOM   0x00000008L

◆ D3DCS_FRONT

#define D3DCS_FRONT   0x00000010L

◆ D3DCS_LEFT

#define D3DCS_LEFT   0x00000001L

◆ D3DCS_PLANE0

#define D3DCS_PLANE0   0x00000040L

◆ D3DCS_PLANE1

#define D3DCS_PLANE1   0x00000080L

◆ D3DCS_PLANE2

#define D3DCS_PLANE2   0x00000100L

◆ D3DCS_PLANE3

#define D3DCS_PLANE3   0x00000200L

◆ D3DCS_PLANE4

#define D3DCS_PLANE4   0x00000400L

◆ D3DCS_PLANE5

#define D3DCS_PLANE5   0x00000800L

◆ D3DCS_RIGHT

#define D3DCS_RIGHT   0x00000002L

◆ D3DCS_TOP

#define D3DCS_TOP   0x00000004L

◆ D3DDEVINFOID_RESOURCEMANAGER

#define D3DDEVINFOID_RESOURCEMANAGER   5 /* Used with D3DDEVINFO_RESOURCEMANAGER */

◆ D3DDEVINFOID_VERTEXSTATS

#define D3DDEVINFOID_VERTEXSTATS   6 /* Used with D3DDEVINFO_D3DVERTEXSTATS */

◆ D3DDP_MAXTEXCOORD

#define D3DDP_MAXTEXCOORD   8

◆ D3DFVF_DIFFUSE

#define D3DFVF_DIFFUSE   0x040

◆ D3DFVF_LASTBETA_UBYTE4

#define D3DFVF_LASTBETA_UBYTE4   0x1000

◆ D3DFVF_NORMAL

#define D3DFVF_NORMAL   0x010

◆ D3DFVF_POSITION_MASK

#define D3DFVF_POSITION_MASK   0x00E

◆ D3DFVF_PSIZE

#define D3DFVF_PSIZE   0x020

◆ D3DFVF_RESERVED0

#define D3DFVF_RESERVED0   0x001

◆ D3DFVF_RESERVED2

#define D3DFVF_RESERVED2   0xE000 /* 4 reserved bits */

◆ D3DFVF_SPECULAR

#define D3DFVF_SPECULAR   0x080

◆ D3DFVF_TEX0

#define D3DFVF_TEX0   0x000

◆ D3DFVF_TEX1

#define D3DFVF_TEX1   0x100

◆ D3DFVF_TEX2

#define D3DFVF_TEX2   0x200

◆ D3DFVF_TEX3

#define D3DFVF_TEX3   0x300

◆ D3DFVF_TEX4

#define D3DFVF_TEX4   0x400

◆ D3DFVF_TEX5

#define D3DFVF_TEX5   0x500

◆ D3DFVF_TEX6

#define D3DFVF_TEX6   0x600

◆ D3DFVF_TEX7

#define D3DFVF_TEX7   0x700

◆ D3DFVF_TEX8

#define D3DFVF_TEX8   0x800

◆ D3DFVF_TEXCOORDSIZE1

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

◆ D3DFVF_TEXCOORDSIZE2

#define D3DFVF_TEXCOORDSIZE2 (   CoordIndex)    (D3DFVF_TEXTUREFORMAT2)

◆ D3DFVF_TEXCOORDSIZE3

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

◆ D3DFVF_TEXCOORDSIZE4

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

◆ D3DFVF_TEXCOUNT_MASK

#define D3DFVF_TEXCOUNT_MASK   0xf00

◆ D3DFVF_TEXCOUNT_SHIFT

#define D3DFVF_TEXCOUNT_SHIFT   8

◆ D3DFVF_TEXTUREFORMAT1

#define D3DFVF_TEXTUREFORMAT1   3 /* One floating point value */

◆ D3DFVF_TEXTUREFORMAT2

#define D3DFVF_TEXTUREFORMAT2   0 /* Two floating point values */

◆ D3DFVF_TEXTUREFORMAT3

#define D3DFVF_TEXTUREFORMAT3   1 /* Three floating point values */

◆ D3DFVF_TEXTUREFORMAT4

#define D3DFVF_TEXTUREFORMAT4   2 /* Four floating point values */

◆ D3DFVF_XYZ

#define D3DFVF_XYZ   0x002

◆ D3DFVF_XYZB1

#define D3DFVF_XYZB1   0x006

◆ D3DFVF_XYZB2

#define D3DFVF_XYZB2   0x008

◆ D3DFVF_XYZB3

#define D3DFVF_XYZB3   0x00a

◆ D3DFVF_XYZB4

#define D3DFVF_XYZB4   0x00c

◆ D3DFVF_XYZB5

#define D3DFVF_XYZB5   0x00e

◆ D3DFVF_XYZRHW

#define D3DFVF_XYZRHW   0x004

◆ D3DLOCK_DISCARD

#define D3DLOCK_DISCARD   0x00002000L

◆ D3DLOCK_NO_DIRTY_UPDATE

#define D3DLOCK_NO_DIRTY_UPDATE   0x00008000L

◆ D3DLOCK_NOOVERWRITE

#define D3DLOCK_NOOVERWRITE   0x00001000L

◆ D3DLOCK_NOSYSLOCK

#define D3DLOCK_NOSYSLOCK   0x00000800L

◆ D3DLOCK_READONLY

#define D3DLOCK_READONLY   0x00000010L

◆ D3DMATRIX_DEFINED

#define D3DMATRIX_DEFINED

◆ D3DMAXUSERCLIPPLANES

#define D3DMAXUSERCLIPPLANES   32

◆ D3DPRESENT_RATE_DEFAULT

#define D3DPRESENT_RATE_DEFAULT   0x00000000

◆ D3DPRESENT_RATE_UNLIMITED

#define D3DPRESENT_RATE_UNLIMITED   0x7fffffff

◆ D3DPRESENTFLAG_LOCKABLE_BACKBUFFER

#define D3DPRESENTFLAG_LOCKABLE_BACKBUFFER   0x00000001

◆ D3DPS_END

#define D3DPS_END ( )    0x0000FFFF

◆ D3DPS_VERSION

#define D3DPS_VERSION (   _Major,
  _Minor 
)    (0xFFFF0000|((_Major)<<8)|(_Minor))

◆ D3DPV_DONOTCOPYDATA

#define D3DPV_DONOTCOPYDATA   (1 << 0)

◆ D3DRECT_DEFINED

#define D3DRECT_DEFINED

◆ D3DRENDERSTATE_WRAPBIAS

#define D3DRENDERSTATE_WRAPBIAS   128UL

◆ D3DRTYPECOUNT

#define D3DRTYPECOUNT   (D3DRTYPE_INDEXBUFFER+1)

◆ D3DSHADER_COMMENT

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

◆ D3DSHADER_VERSION_MAJOR

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

◆ D3DSHADER_VERSION_MINOR

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

◆ D3DSI_COISSUE

#define D3DSI_COISSUE   0x40000000

◆ D3DSI_COMMENTSIZE_MASK

#define D3DSI_COMMENTSIZE_MASK   0x7FFF0000

◆ D3DSI_COMMENTSIZE_SHIFT

#define D3DSI_COMMENTSIZE_SHIFT   16

◆ D3DSI_OPCODE_MASK

#define D3DSI_OPCODE_MASK   0x0000FFFF

◆ D3DSP_DSTMOD_MASK

#define D3DSP_DSTMOD_MASK   0x00F00000

◆ D3DSP_DSTMOD_SHIFT

#define D3DSP_DSTMOD_SHIFT   20

◆ D3DSP_DSTSHIFT_MASK

#define D3DSP_DSTSHIFT_MASK   0x0F000000

◆ D3DSP_DSTSHIFT_SHIFT

#define D3DSP_DSTSHIFT_SHIFT   24

◆ D3DSP_NOSWIZZLE

#define D3DSP_NOSWIZZLE
Value:
( (0 << (D3DSP_SWIZZLE_SHIFT + 0)) | \
(1 << (D3DSP_SWIZZLE_SHIFT + 2)) | \
(2 << (D3DSP_SWIZZLE_SHIFT + 4)) | \
(3 << (D3DSP_SWIZZLE_SHIFT + 6)) )
#define D3DSP_SWIZZLE_SHIFT
Definition: d3d8types.h:1041

◆ D3DSP_REGNUM_MASK

#define D3DSP_REGNUM_MASK   0x00001FFF

◆ D3DSP_REGTYPE_MASK

#define D3DSP_REGTYPE_MASK   0x70000000

◆ D3DSP_REGTYPE_SHIFT

#define D3DSP_REGTYPE_SHIFT   28

◆ D3DSP_REPLICATEALPHA

#define D3DSP_REPLICATEALPHA
Value:
( (3 << (D3DSP_SWIZZLE_SHIFT + 0)) | \
(3 << (D3DSP_SWIZZLE_SHIFT + 2)) | \
(3 << (D3DSP_SWIZZLE_SHIFT + 4)) | \
(3 << (D3DSP_SWIZZLE_SHIFT + 6)) )
#define D3DSP_SWIZZLE_SHIFT
Definition: d3d8types.h:1041

◆ D3DSP_REPLICATEBLUE

#define D3DSP_REPLICATEBLUE
Value:
( (2 << (D3DSP_SWIZZLE_SHIFT + 0)) | \
(2 << (D3DSP_SWIZZLE_SHIFT + 2)) | \
(2 << (D3DSP_SWIZZLE_SHIFT + 4)) | \
(2 << (D3DSP_SWIZZLE_SHIFT + 6)) )
#define D3DSP_SWIZZLE_SHIFT
Definition: d3d8types.h:1041

◆ D3DSP_REPLICATEGREEN

#define D3DSP_REPLICATEGREEN
Value:
( (1 << (D3DSP_SWIZZLE_SHIFT + 0)) | \
(1 << (D3DSP_SWIZZLE_SHIFT + 2)) | \
(1 << (D3DSP_SWIZZLE_SHIFT + 4)) | \
(1 << (D3DSP_SWIZZLE_SHIFT + 6)) )
#define D3DSP_SWIZZLE_SHIFT
Definition: d3d8types.h:1041

◆ D3DSP_REPLICATERED

#define D3DSP_REPLICATERED
Value:
( (0 << (D3DSP_SWIZZLE_SHIFT + 0)) | \
(0 << (D3DSP_SWIZZLE_SHIFT + 2)) | \
(0 << (D3DSP_SWIZZLE_SHIFT + 4)) | \
(0 << (D3DSP_SWIZZLE_SHIFT + 6)) )
#define D3DSP_SWIZZLE_SHIFT
Definition: d3d8types.h:1041

◆ D3DSP_SRCMOD_MASK

#define D3DSP_SRCMOD_MASK   0x0F000000

◆ D3DSP_SRCMOD_SHIFT

#define D3DSP_SRCMOD_SHIFT   24

◆ D3DSP_SWIZZLE_MASK

#define D3DSP_SWIZZLE_MASK   0x00FF0000

◆ D3DSP_SWIZZLE_SHIFT

#define D3DSP_SWIZZLE_SHIFT   16

◆ D3DSP_WRITEMASK_0

#define D3DSP_WRITEMASK_0   0x00010000 /* Component 0 (X;Red) */

◆ D3DSP_WRITEMASK_1

#define D3DSP_WRITEMASK_1   0x00020000 /* Component 1 (Y;Green) */

◆ D3DSP_WRITEMASK_2

#define D3DSP_WRITEMASK_2   0x00040000 /* Component 2 (Z;Blue) */

◆ D3DSP_WRITEMASK_3

#define D3DSP_WRITEMASK_3   0x00080000 /* Component 3 (W;Alpha) */

◆ D3DSP_WRITEMASK_ALL

#define D3DSP_WRITEMASK_ALL   0x000F0000 /* All Components */

◆ D3DTA_ALPHAREPLICATE

#define D3DTA_ALPHAREPLICATE   0x00000020 /* replicate alpha to color components (read modifier) */

◆ D3DTA_COMPLEMENT

#define D3DTA_COMPLEMENT   0x00000010 /* take 1.0 - x (read modifier) */

◆ D3DTA_CURRENT

#define D3DTA_CURRENT   0x00000001 /* select stage destination register (read/write) */

◆ D3DTA_DIFFUSE

#define D3DTA_DIFFUSE   0x00000000 /* select diffuse color (read only) */

◆ D3DTA_SELECTMASK

#define D3DTA_SELECTMASK   0x0000000f /* mask for arg selector */

◆ D3DTA_SPECULAR

#define D3DTA_SPECULAR   0x00000004 /* select specular color (read only) */

◆ D3DTA_TEMP

#define D3DTA_TEMP   0x00000005 /* select temporary register color (read/write) */

◆ D3DTA_TEXTURE

#define D3DTA_TEXTURE   0x00000002 /* select texture color (read only) */

◆ D3DTA_TFACTOR

#define D3DTA_TFACTOR   0x00000003 /* select D3DRS_TEXTUREFACTOR (read only) */

◆ D3DTS_WORLD

#define D3DTS_WORLD   D3DTS_WORLDMATRIX(0)

◆ D3DTS_WORLD1

#define D3DTS_WORLD1   D3DTS_WORLDMATRIX(1)

◆ D3DTS_WORLD2

#define D3DTS_WORLD2   D3DTS_WORLDMATRIX(2)

◆ D3DTS_WORLD3

#define D3DTS_WORLD3   D3DTS_WORLDMATRIX(3)

◆ D3DTS_WORLDMATRIX

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

◆ D3DTSS_TCI_CAMERASPACENORMAL

#define D3DTSS_TCI_CAMERASPACENORMAL   0x00010000

◆ D3DTSS_TCI_CAMERASPACEPOSITION

#define D3DTSS_TCI_CAMERASPACEPOSITION   0x00020000

◆ D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR

#define D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR   0x00030000

◆ D3DTSS_TCI_PASSTHRU

#define D3DTSS_TCI_PASSTHRU   0x00000000

◆ D3DUSAGE_DEPTHSTENCIL

#define D3DUSAGE_DEPTHSTENCIL   (0x00000002L)

◆ D3DUSAGE_DONOTCLIP

#define D3DUSAGE_DONOTCLIP   (0x00000020L)

◆ D3DUSAGE_DYNAMIC

#define D3DUSAGE_DYNAMIC   (0x00000200L)

◆ D3DUSAGE_NPATCHES

#define D3DUSAGE_NPATCHES   (0x00000100L)

◆ D3DUSAGE_POINTS

#define D3DUSAGE_POINTS   (0x00000040L)

◆ D3DUSAGE_RENDERTARGET

#define D3DUSAGE_RENDERTARGET   (0x00000001L)

◆ D3DUSAGE_RTPATCHES

#define D3DUSAGE_RTPATCHES   (0x00000080L)

◆ D3DUSAGE_SOFTWAREPROCESSING

#define D3DUSAGE_SOFTWAREPROCESSING   (0x00000010L)

◆ D3DUSAGE_WRITEONLY

#define D3DUSAGE_WRITEONLY   (0x00000008L)

◆ D3DVECTOR_DEFINED

#define D3DVECTOR_DEFINED

◆ D3DVS_ADDRESSMODE_MASK

#define D3DVS_ADDRESSMODE_MASK   (1 << D3DVS_ADDRESSMODE_SHIFT)

◆ D3DVS_ADDRESSMODE_SHIFT

#define D3DVS_ADDRESSMODE_SHIFT   13

◆ D3DVS_END

#define D3DVS_END ( )    0x0000FFFF

◆ D3DVS_NOSWIZZLE

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

◆ D3DVS_SWIZZLE_MASK

#define D3DVS_SWIZZLE_MASK   0x00FF0000

◆ D3DVS_SWIZZLE_SHIFT

#define D3DVS_SWIZZLE_SHIFT   16

◆ D3DVS_VERSION

#define D3DVS_VERSION (   _Major,
  _Minor 
)    (0xFFFE0000|((_Major)<<8)|(_Minor))

◆ D3DVS_W_W

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

◆ D3DVS_W_X

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

◆ D3DVS_W_Y

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

◆ D3DVS_W_Z

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

◆ D3DVS_X_W

#define D3DVS_X_W   (3 << D3DVS_SWIZZLE_SHIFT)

◆ D3DVS_X_X

#define D3DVS_X_X   (0 << D3DVS_SWIZZLE_SHIFT)

◆ D3DVS_X_Y

#define D3DVS_X_Y   (1 << D3DVS_SWIZZLE_SHIFT)

◆ D3DVS_X_Z

#define D3DVS_X_Z   (2 << D3DVS_SWIZZLE_SHIFT)

◆ D3DVS_Y_W

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

◆ D3DVS_Y_X

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

◆ D3DVS_Y_Y

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

◆ D3DVS_Y_Z

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

◆ D3DVS_Z_W

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

◆ D3DVS_Z_X

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

◆ D3DVS_Z_Y

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

◆ D3DVS_Z_Z

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

◆ D3DVSD_CONST

#define D3DVSD_CONST (   _ConstantAddress,
  _Count 
)
Value:
((_Count) << D3DVSD_CONSTCOUNTSHIFT) | (_ConstantAddress))
Definition: d3d8types.h:725
#define D3DVSD_CONSTCOUNTSHIFT
Definition: d3d8types.h:752
#define D3DVSD_MAKETOKENTYPE(tokenType)
Definition: d3d8types.h:767

◆ D3DVSD_CONSTADDRESSMASK

#define D3DVSD_CONSTADDRESSMASK   (0x7F << D3DVSD_CONSTADDRESSSHIFT)

◆ D3DVSD_CONSTADDRESSSHIFT

#define D3DVSD_CONSTADDRESSSHIFT   0

◆ D3DVSD_CONSTCOUNTMASK

#define D3DVSD_CONSTCOUNTMASK   (0xF << D3DVSD_CONSTCOUNTSHIFT)

◆ D3DVSD_CONSTCOUNTSHIFT

#define D3DVSD_CONSTCOUNTSHIFT   25

◆ D3DVSD_CONSTRSMASK

#define D3DVSD_CONSTRSMASK   (0x1FFF << D3DVSD_CONSTRSSHIFT)

◆ D3DVSD_CONSTRSSHIFT

#define D3DVSD_CONSTRSSHIFT   16

◆ D3DVSD_DATALOADTYPEMASK

#define D3DVSD_DATALOADTYPEMASK   (0x1 << D3DVSD_DATALOADTYPESHIFT)

◆ D3DVSD_DATALOADTYPESHIFT

#define D3DVSD_DATALOADTYPESHIFT   28

◆ D3DVSD_DATATYPEMASK

#define D3DVSD_DATATYPEMASK   (0xF << D3DVSD_DATATYPESHIFT)

◆ D3DVSD_DATATYPESHIFT

#define D3DVSD_DATATYPESHIFT   16

◆ D3DVSD_END

#define D3DVSD_END ( )    0xFFFFFFFF

◆ D3DVSD_EXTCOUNTMASK

#define D3DVSD_EXTCOUNTMASK   (0x1F << D3DVSD_EXTCOUNTSHIFT)

◆ D3DVSD_EXTCOUNTSHIFT

#define D3DVSD_EXTCOUNTSHIFT   24

◆ D3DVSD_EXTINFOMASK

#define D3DVSD_EXTINFOMASK   (0xFFFFFF << D3DVSD_EXTINFOSHIFT)

◆ D3DVSD_EXTINFOSHIFT

#define D3DVSD_EXTINFOSHIFT   0

◆ D3DVSD_MAKETOKENTYPE

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

◆ D3DVSD_NOP

#define D3DVSD_NOP ( )    0x00000000

◆ D3DVSD_REG

#define D3DVSD_REG (   _VertexRegister,
  _Type 
)
Value:
((_Type) << D3DVSD_DATATYPESHIFT) | (_VertexRegister))
#define D3DVSD_DATATYPESHIFT
Definition: d3d8types.h:740
Definition: d3d8types.h:723
#define D3DVSD_MAKETOKENTYPE(tokenType)
Definition: d3d8types.h:767

◆ D3DVSD_SKIP

#define D3DVSD_SKIP (   _DWORDCount)
Value:
((_DWORDCount) << D3DVSD_SKIPCOUNTSHIFT))
#define D3DVSD_SKIPCOUNTSHIFT
Definition: d3d8types.h:743
Definition: d3d8types.h:723
#define D3DVSD_MAKETOKENTYPE(tokenType)
Definition: d3d8types.h:767

◆ D3DVSD_SKIPCOUNTMASK

#define D3DVSD_SKIPCOUNTMASK   (0xF << D3DVSD_SKIPCOUNTSHIFT)

◆ D3DVSD_SKIPCOUNTSHIFT

#define D3DVSD_SKIPCOUNTSHIFT   16

◆ D3DVSD_STREAM

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

◆ D3DVSD_STREAM_TESS

#define D3DVSD_STREAM_TESS ( )    (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAM) | (D3DVSD_STREAMTESSMASK))

◆ D3DVSD_STREAMNUMBERMASK

#define D3DVSD_STREAMNUMBERMASK   (0xF << D3DVSD_STREAMNUMBERSHIFT)

◆ D3DVSD_STREAMNUMBERSHIFT

#define D3DVSD_STREAMNUMBERSHIFT   0

◆ D3DVSD_STREAMTESSMASK

#define D3DVSD_STREAMTESSMASK   (1 << D3DVSD_STREAMTESSSHIFT)

◆ D3DVSD_STREAMTESSSHIFT

#define D3DVSD_STREAMTESSSHIFT   28

◆ D3DVSD_TESSNORMAL

#define D3DVSD_TESSNORMAL (   _VertexRegisterIn,
  _VertexRegisterOut 
)
Value:
((_VertexRegisterIn) << D3DVSD_VERTEXREGINSHIFT) | \
((0x02) << D3DVSD_DATATYPESHIFT) | (_VertexRegisterOut))
#define D3DVSD_DATATYPESHIFT
Definition: d3d8types.h:740
#define D3DVSD_VERTEXREGINSHIFT
Definition: d3d8types.h:749
Definition: d3d8types.h:724
#define D3DVSD_MAKETOKENTYPE(tokenType)
Definition: d3d8types.h:767

◆ D3DVSD_TESSUV

#define D3DVSD_TESSUV (   _VertexRegister)
Value:
((0x01) << D3DVSD_DATATYPESHIFT) | (_VertexRegister))
#define D3DVSD_DATATYPESHIFT
Definition: d3d8types.h:740
Definition: d3d8types.h:724
#define D3DVSD_MAKETOKENTYPE(tokenType)
Definition: d3d8types.h:767

◆ D3DVSD_TOKENTYPEMASK

#define D3DVSD_TOKENTYPEMASK   (7 << D3DVSD_TOKENTYPESHIFT)

◆ D3DVSD_TOKENTYPESHIFT

#define D3DVSD_TOKENTYPESHIFT   29

◆ D3DVSD_VERTEXREGINMASK

#define D3DVSD_VERTEXREGINMASK   (0xF << D3DVSD_VERTEXREGINSHIFT)

◆ D3DVSD_VERTEXREGINSHIFT

#define D3DVSD_VERTEXREGINSHIFT   20

◆ D3DVSD_VERTEXREGMASK

#define D3DVSD_VERTEXREGMASK   (0x1F << D3DVSD_VERTEXREGSHIFT)

◆ D3DVSD_VERTEXREGSHIFT

#define D3DVSD_VERTEXREGSHIFT   0

◆ D3DVSDE_BLENDINDICES

#define D3DVSDE_BLENDINDICES   2

◆ D3DVSDE_BLENDWEIGHT

#define D3DVSDE_BLENDWEIGHT   1

◆ D3DVSDE_DIFFUSE

#define D3DVSDE_DIFFUSE   5

◆ D3DVSDE_NORMAL

#define D3DVSDE_NORMAL   3

◆ D3DVSDE_NORMAL2

#define D3DVSDE_NORMAL2   16

◆ D3DVSDE_POSITION

#define D3DVSDE_POSITION   0

◆ D3DVSDE_POSITION2

#define D3DVSDE_POSITION2   15

◆ D3DVSDE_PSIZE

#define D3DVSDE_PSIZE   4

◆ D3DVSDE_SPECULAR

#define D3DVSDE_SPECULAR   6

◆ D3DVSDE_TEXCOORD0

#define D3DVSDE_TEXCOORD0   7

◆ D3DVSDE_TEXCOORD1

#define D3DVSDE_TEXCOORD1   8

◆ D3DVSDE_TEXCOORD2

#define D3DVSDE_TEXCOORD2   9

◆ D3DVSDE_TEXCOORD3

#define D3DVSDE_TEXCOORD3   10

◆ D3DVSDE_TEXCOORD4

#define D3DVSDE_TEXCOORD4   11

◆ D3DVSDE_TEXCOORD5

#define D3DVSDE_TEXCOORD5   12

◆ D3DVSDE_TEXCOORD6

#define D3DVSDE_TEXCOORD6   13

◆ D3DVSDE_TEXCOORD7

#define D3DVSDE_TEXCOORD7   14

◆ D3DVSDT_D3DCOLOR

#define D3DVSDT_D3DCOLOR
Value:
0x04 /* 4D packed unsigned bytes mapped to 0. to 1. range
* Input is in D3DCOLOR format (ARGB) expanded to (R, G, B, A) */

◆ D3DVSDT_FLOAT1

#define D3DVSDT_FLOAT1   0x00 /* 1D float expanded to (value, 0., 0., 1.) */

◆ D3DVSDT_FLOAT2

#define D3DVSDT_FLOAT2   0x01 /* 2D float expanded to (value, value, 0., 1.) */

◆ D3DVSDT_FLOAT3

#define D3DVSDT_FLOAT3   0x02 /* 3D float expanded to (value, value, value, 1.) */

◆ D3DVSDT_FLOAT4

#define D3DVSDT_FLOAT4   0x03 /* 4D float */

◆ D3DVSDT_SHORT2

#define D3DVSDT_SHORT2   0x06 /* 2D signed short expanded to (value, value, 0., 1.) */

◆ D3DVSDT_SHORT4

#define D3DVSDT_SHORT4   0x07 /* 4D signed short */

◆ D3DVSDT_UBYTE4

#define D3DVSDT_UBYTE4   0x05 /* 4D unsigned byte */

◆ D3DWRAP_U

#define D3DWRAP_U   0x00000001L

◆ D3DWRAP_V

#define D3DWRAP_V   0x00000002L

◆ D3DWRAP_W

#define D3DWRAP_W   0x00000004L

◆ D3DWRAPCOORD_0

#define D3DWRAPCOORD_0   0x00000001L /* same as D3DWRAP_U */

◆ D3DWRAPCOORD_1

#define D3DWRAPCOORD_1   0x00000002L /* same as D3DWRAP_V */

◆ D3DWRAPCOORD_2

#define D3DWRAPCOORD_2   0x00000004L /* same as D3DWRAP_W */

◆ D3DWRAPCOORD_3

#define D3DWRAPCOORD_3   0x00000008L

◆ DIRECT3D_VERSION

#define DIRECT3D_VERSION   0x0800

◆ MAKEFOURCC

#define MAKEFOURCC (   ch0,
  ch1,
  ch2,
  ch3 
)
Value:
((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \
((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))

◆ MAX_DEVICE_IDENTIFIER_STRING

#define MAX_DEVICE_IDENTIFIER_STRING   512

Typedef Documentation

◆ D3DADAPTER_IDENTIFIER8

◆ D3DBACKBUFFER_TYPE

◆ D3DBASISTYPE

◆ D3DBLEND

typedef enum _D3DBLEND D3DBLEND

◆ D3DBLENDOP

typedef enum _D3DBLENDOP D3DBLENDOP

◆ D3DBOX

typedef struct _D3DBOX D3DBOX

◆ D3DCLIPSTATUS8

◆ D3DCMPFUNC

typedef enum _D3DCMPFUNC D3DCMPFUNC

◆ D3DCOLOR

typedef DWORD D3DCOLOR

◆ D3DCOLORVALUE

typedef struct _D3DCOLORVALUE D3DCOLORVALUE

◆ D3DCUBEMAP_FACES

◆ D3DCULL

typedef enum _D3DCULL D3DCULL

◆ D3DDEBUGMONITORTOKENS

◆ D3DDEVICE_CREATION_PARAMETERS

◆ D3DDEVINFO_D3DVERTEXSTATS

◆ D3DDEVINFO_RESOURCEMANAGER

◆ D3DDEVTYPE

typedef enum _D3DDEVTYPE D3DDEVTYPE

◆ D3DDISPLAYMODE

◆ D3DFILLMODE

typedef enum _D3DFILLMODE D3DFILLMODE

◆ D3DFOGMODE

typedef enum _D3DFOGMODE D3DFOGMODE

◆ D3DFORMAT

typedef enum _D3DFORMAT D3DFORMAT

◆ D3DGAMMARAMP

typedef struct _D3DGAMMARAMP D3DGAMMARAMP

◆ D3DINDEXBUFFER_DESC

◆ D3DLIGHT8

typedef struct _D3DLIGHT8 D3DLIGHT8

◆ D3DLIGHTTYPE

◆ D3DLINEPATTERN

◆ D3DLOCKED_BOX

typedef struct _D3DLOCKED_BOX D3DLOCKED_BOX

◆ D3DLOCKED_RECT

◆ D3DMATERIAL8

typedef struct _D3DMATERIAL8 D3DMATERIAL8

◆ D3DMATERIALCOLORSOURCE

◆ D3DMATRIX

typedef struct _D3DMATRIX D3DMATRIX

◆ D3DMULTISAMPLE_TYPE

◆ D3DORDERTYPE

◆ D3DPATCHEDGESTYLE

◆ D3DPOOL

typedef enum _D3DPOOL D3DPOOL

◆ D3DPRESENT_PARAMETERS

◆ D3DPRIMITIVETYPE

◆ D3DRANGE

typedef struct _D3DRANGE D3DRANGE

◆ D3DRASTER_STATUS

◆ D3DRECT

typedef struct _D3DRECT D3DRECT

◆ D3DRECTPATCH_INFO

◆ D3DRENDERSTATETYPE

◆ D3DRESOURCESTATS

◆ D3DRESOURCETYPE

◆ D3DSHADEMODE

◆ D3DSHADER_INSTRUCTION_OPCODE_TYPE

◆ 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

typedef struct _D3DVECTOR D3DVECTOR

◆ D3DVERTEXBLENDFLAGS

◆ D3DVERTEXBUFFER_DESC

◆ D3DVIEWPORT8

typedef struct _D3DVIEWPORT8 D3DVIEWPORT8

◆ D3DVOLUME_DESC

◆ D3DVS_ADDRESSMODE_TYPE

◆ D3DVS_RASTOUT_OFFSETS

◆ D3DVSD_TOKENTYPE

◆ D3DZBUFFERTYPE

◆ LPD3DDEVINFO_D3DVERTEXSTATS

◆ LPD3DDEVINFO_RESOURCEMANAGER

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 

◆ _D3DBASISTYPE

Enumerator
D3DBASIS_BEZIER 
D3DBASIS_BSPLINE 
D3DBASIS_INTERPOLATE 
D3DBASIS_FORCE_DWORD 
D3DBASIS_BEZIER 
D3DBASIS_BSPLINE 
D3DBASIS_CATMULL_ROM 
D3DBASIS_FORCE_DWORD 

◆ _D3DBLEND

enum _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_SRCCOLOR2 
D3DBLEND_INVSRCCOLOR2 
D3DBLEND_FORCE_DWORD 

◆ _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 

◆ _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 

◆ _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 

◆ _D3DCULL

enum _D3DCULL
Enumerator
D3DCULL_NONE 
D3DCULL_CW 
D3DCULL_CCW 
D3DCULL_FORCE_DWORD 
D3DCULL_NONE 
D3DCULL_CW 
D3DCULL_CCW 
D3DCULL_FORCE_DWORD 

◆ _D3DDEBUGMONITORTOKENS

Enumerator
D3DDMT_ENABLE 
D3DDMT_DISABLE 
D3DDMT_FORCE_DWORD 
D3DDMT_ENABLE 
D3DDMT_DISABLE 
D3DDMT_FORCE_DWORD 

◆ _D3DDEVTYPE

Enumerator
D3DDEVTYPE_HAL 
D3DDEVTYPE_REF 
D3DDEVTYPE_SW 
D3DDEVTYPE_FORCE_DWORD 
D3DDEVTYPE_HAL 
D3DDEVTYPE_REF 
D3DDEVTYPE_SW 
D3DDEVTYPE_NULLREF 
D3DDEVTYPE_FORCE_DWORD 

◆ _D3DFILLMODE

Enumerator
D3DFILL_POINT 
D3DFILL_WIREFRAME 
D3DFILL_SOLID 
D3DFILL_FORCE_DWORD 
D3DFILL_POINT 
D3DFILL_WIREFRAME 
D3DFILL_SOLID 
D3DFILL_FORCE_DWORD 

◆ _D3DFOGMODE

Enumerator
D3DFOG_NONE 
D3DFOG_EXP 
D3DFOG_EXP2 
D3DFOG_LINEAR 
D3DFOG_FORCE_DWORD 
D3DFOG_NONE 
D3DFOG_EXP 
D3DFOG_EXP2 
D3DFOG_LINEAR 
D3DFOG_FORCE_DWORD 

◆ _D3DFORMAT

enum _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_R8G8_B8G8 
D3DFMT_YUY2 
D3DFMT_G8R8_G8B8 
D3DFMT_DXT1 
D3DFMT_DXT2 
D3DFMT_DXT3 
D3DFMT_DXT4 
D3DFMT_DXT5 
D3DFMT_D16_LOCKABLE 
D3DFMT_D32 
D3DFMT_D15S1 
D3DFMT_D24S8 
D3DFMT_D24X8 
D3DFMT_D24X4S4 
D3DFMT_D16 
D3DFMT_D32F_LOCKABLE 
D3DFMT_D24FS8 
D3DFMT_D32_LOCKABLE 
D3DFMT_S8_LOCKABLE 
D3DFMT_L16 
D3DFMT_VERTEXDATA 
D3DFMT_INDEX16 
D3DFMT_INDEX32 
D3DFMT_Q16W16V16U16 
D3DFMT_MULTI2_ARGB8 
D3DFMT_R16F 
D3DFMT_G16R16F 
D3DFMT_A16B16G16R16F 
D3DFMT_R32F 
D3DFMT_G32R32F 
D3DFMT_A32B32G32R32F 
D3DFMT_CxV8U8 
D3DFMT_A1 
D3DFMT_A2B10G10R10_XR_BIAS 
D3DFMT_BINARYBUFFER 
D3DFMT_FORCE_DWORD 

◆ _D3DLIGHTTYPE

Enumerator
D3DLIGHT_POINT 
D3DLIGHT_SPOT 
D3DLIGHT_DIRECTIONAL 
D3DLIGHT_FORCE_DWORD 
D3DLIGHT_POINT 
D3DLIGHT_SPOT 
D3DLIGHT_DIRECTIONAL 
D3DLIGHT_FORCE_DWORD 

◆ _D3DMATERIALCOLORSOURCE

Enumerator
D3DMCS_MATERIAL 
D3DMCS_COLOR1 
D3DMCS_COLOR2 
D3DMCS_FORCE_DWORD 
D3DMCS_MATERIAL 
D3DMCS_COLOR1 
D3DMCS_COLOR2 
D3DMCS_FORCE_DWORD 

◆ _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 

◆ _D3DORDERTYPE

Enumerator
D3DORDER_LINEAR 
D3DORDER_QUADRATIC 
D3DORDER_CUBIC 
D3DORDER_QUINTIC 
D3DORDER_FORCE_DWORD 

◆ _D3DPATCHEDGESTYLE

Enumerator
D3DPATCHEDGE_DISCRETE 
D3DPATCHEDGE_CONTINUOUS 
D3DPATCHEDGE_FORCE_DWORD 
D3DPATCHEDGE_DISCRETE 
D3DPATCHEDGE_CONTINUOUS 
D3DPATCHEDGE_FORCE_DWORD 

◆ _D3DPOOL

enum _D3DPOOL
Enumerator
D3DPOOL_DEFAULT 
D3DPOOL_MANAGED 
D3DPOOL_SYSTEMMEM 
D3DPOOL_SCRATCH 
D3DPOOL_FORCE_DWORD 
D3DPOOL_DEFAULT 
D3DPOOL_MANAGED 
D3DPOOL_SYSTEMMEM 
D3DPOOL_SCRATCH 
D3DPOOL_FORCE_DWORD 

◆ _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 

◆ _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 

◆ _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 

◆ _D3DSHADEMODE

Enumerator
D3DSHADE_FLAT 
D3DSHADE_GOURAUD 
D3DSHADE_PHONG 
D3DSHADE_FORCE_DWORD 
D3DSHADE_FLAT 
D3DSHADE_GOURAUD 
D3DSHADE_PHONG 
D3DSHADE_FORCE_DWORD 

◆ _D3DSHADER_INSTRUCTION_OPCODE_TYPE

Enumerator
D3DSIO_NOP 
D3DSIO_MOV 
D3DSIO_ADD 
D3DSIO_SUB 
D3DSIO_MAD 
D3DSIO_MUL 
D3DSIO_RCP 
D3DSIO_RSQ 
D3DSIO_DP3 
D3DSIO_DP4 
D3DSIO_MIN 
D3DSIO_MAX 
D3DSIO_SLT 
D3DSIO_SGE 
D3DSIO_EXP 
D3DSIO_LOG 
D3DSIO_LIT 
D3DSIO_DST 
D3DSIO_LRP 
D3DSIO_FRC 
D3DSIO_M4x4 
D3DSIO_M4x3 
D3DSIO_M3x4 
D3DSIO_M3x3 
D3DSIO_M3x2 
D3DSIO_TEXCOORD 
D3DSIO_TEXKILL 
D3DSIO_TEX 
D3DSIO_TEXBEM 
D3DSIO_TEXBEML 
D3DSIO_TEXREG2AR 
D3DSIO_TEXREG2GB 
D3DSIO_TEXM3x2PAD 
D3DSIO_TEXM3x2TEX 
D3DSIO_TEXM3x3PAD 
D3DSIO_TEXM3x3TEX 
D3DSIO_TEXM3x3DIFF 
D3DSIO_TEXM3x3SPEC 
D3DSIO_TEXM3x3VSPEC 
D3DSIO_EXPP 
D3DSIO_LOGP 
D3DSIO_CND 
D3DSIO_DEF 
D3DSIO_TEXREG2RGB 
D3DSIO_TEXDP3TEX 
D3DSIO_TEXM3x2DEPTH 
D3DSIO_TEXDP3 
D3DSIO_TEXM3x3 
D3DSIO_TEXDEPTH 
D3DSIO_CMP 
D3DSIO_BEM 
D3DSIO_PHASE 
D3DSIO_COMMENT 
D3DSIO_END 
D3DSIO_FORCE_DWORD 
D3DSIO_NOP 
D3DSIO_MOV 
D3DSIO_ADD 
D3DSIO_SUB 
D3DSIO_MAD 
D3DSIO_MUL 
D3DSIO_RCP 
D3DSIO_RSQ 
D3DSIO_DP3 
D3DSIO_DP4 
D3DSIO_MIN 
D3DSIO_MAX 
D3DSIO_SLT 
D3DSIO_SGE 
D3DSIO_EXP 
D3DSIO_LOG 
D3DSIO_LIT 
D3DSIO_DST 
D3DSIO_LRP 
D3DSIO_FRC 
D3DSIO_M4x4 
D3DSIO_M4x3 
D3DSIO_M3x4 
D3DSIO_M3x3 
D3DSIO_M3x2 
D3DSIO_CALL 
D3DSIO_CALLNZ 
D3DSIO_LOOP 
D3DSIO_RET 
D3DSIO_ENDLOOP 
D3DSIO_LABEL 
D3DSIO_DCL 
D3DSIO_POW 
D3DSIO_CRS 
D3DSIO_SGN 
D3DSIO_ABS 
D3DSIO_NRM 
D3DSIO_SINCOS 
D3DSIO_REP 
D3DSIO_ENDREP 
D3DSIO_IF 
D3DSIO_IFC 
D3DSIO_ELSE 
D3DSIO_ENDIF 
D3DSIO_BREAK 
D3DSIO_BREAKC 
D3DSIO_MOVA 
D3DSIO_DEFB 
D3DSIO_DEFI 
D3DSIO_TEXCOORD 
D3DSIO_TEXKILL 
D3DSIO_TEX 
D3DSIO_TEXBEM 
D3DSIO_TEXBEML 
D3DSIO_TEXREG2AR 
D3DSIO_TEXREG2GB 
D3DSIO_TEXM3x2PAD 
D3DSIO_TEXM3x2TEX 
D3DSIO_TEXM3x3PAD 
D3DSIO_TEXM3x3TEX 
D3DSIO_RESERVED0 
D3DSIO_TEXM3x3SPEC 
D3DSIO_TEXM3x3VSPEC 
D3DSIO_EXPP 
D3DSIO_LOGP 
D3DSIO_CND 
D3DSIO_DEF 
D3DSIO_TEXREG2RGB 
D3DSIO_TEXDP3TEX 
D3DSIO_TEXM3x2DEPTH 
D3DSIO_TEXDP3 
D3DSIO_TEXM3x3 
D3DSIO_TEXDEPTH 
D3DSIO_CMP 
D3DSIO_BEM 
D3DSIO_DP2ADD 
D3DSIO_DSX 
D3DSIO_DSY 
D3DSIO_TEXLDD 
D3DSIO_SETP 
D3DSIO_TEXLDL 
D3DSIO_BREAKP 
D3DSIO_PHASE 
D3DSIO_COMMENT 
D3DSIO_END 
D3DSIO_FORCE_DWORD 

◆ _D3DSHADER_PARAM_DSTMOD_TYPE

Enumerator
D3DSPDM_NONE 
D3DSPDM_SATURATE 
D3DSPDM_FORCE_DWORD 

◆ _D3DSHADER_PARAM_REGISTER_TYPE

Enumerator
D3DSPR_TEMP 
D3DSPR_INPUT 
D3DSPR_CONST 
D3DSPR_ADDR 
D3DSPR_TEXTURE 
D3DSPR_RASTOUT 
D3DSPR_ATTROUT 
D3DSPR_TEXCRDOUT 
D3DSPR_FORCE_DWORD 
D3DSPR_TEMP 
D3DSPR_INPUT 
D3DSPR_CONST 
D3DSPR_ADDR 
D3DSPR_TEXTURE 
D3DSPR_RASTOUT 
D3DSPR_ATTROUT 
D3DSPR_TEXCRDOUT 
D3DSPR_OUTPUT 
D3DSPR_CONSTINT 
D3DSPR_COLOROUT 
D3DSPR_DEPTHOUT 
D3DSPR_SAMPLER 
D3DSPR_CONST2 
D3DSPR_CONST3 
D3DSPR_CONST4 
D3DSPR_CONSTBOOL 
D3DSPR_LOOP 
D3DSPR_TEMPFLOAT16 
D3DSPR_MISCTYPE 
D3DSPR_LABEL 
D3DSPR_PREDICATE 
D3DSPR_FORCE_DWORD 

◆ _D3DSHADER_PARAM_SRCMOD_TYPE

Enumerator
D3DSPSM_NONE 
D3DSPSM_NEG 
D3DSPSM_BIAS 
D3DSPSM_BIASNEG 
D3DSPSM_SIGN 
D3DSPSM_SIGNNEG 
D3DSPSM_COMP 
D3DSPSM_X2 
D3DSPSM_X2NEG 
D3DSPSM_DZ 
D3DSPSM_DW 
D3DSPSM_FORCE_DWORD 
D3DSPSM_NONE 
D3DSPSM_NEG 
D3DSPSM_BIAS 
D3DSPSM_BIASNEG 
D3DSPSM_SIGN 
D3DSPSM_SIGNNEG 
D3DSPSM_COMP 
D3DSPSM_X2 
D3DSPSM_X2NEG 
D3DSPSM_DZ 
D3DSPSM_DW 
D3DSPSM_ABS 
D3DSPSM_ABSNEG 
D3DSPSM_NOT 
D3DSPSM_FORCE_DWORD 

◆ _D3DSTATEBLOCKTYPE

Enumerator
D3DSBT_ALL 
D3DSBT_PIXELSTATE 
D3DSBT_VERTEXSTATE 
D3DSBT_FORCE_DWORD 
D3DSBT_ALL 
D3DSBT_PIXELSTATE 
D3DSBT_VERTEXSTATE 
D3DSBT_FORCE_DWORD 

◆ _D3DSTENCILOP

Enumerator
D3DSTENCILOP_KEEP 
D3DSTENCILOP_ZERO 
D3DSTENCILOP_REPLACE 
D3DSTENCILOP_INCRSAT 
D3DSTENCILOP_DECRSAT 
D3DSTENCILOP_INVERT 
D3DSTENCILOP_INCR 
D3DSTENCILOP_DECR 
D3DSTENCILOP_FORCE_DWORD 
D3DSTENCILOP_KEEP 
D3DSTENCILOP_ZERO 
D3DSTENCILOP_REPLACE 
D3DSTENCILOP_INCRSAT 
D3DSTENCILOP_DECRSAT 
D3DSTENCILOP_INVERT 
D3DSTENCILOP_INCR 
D3DSTENCILOP_DECR 
D3DSTENCILOP_FORCE_DWORD 

◆ _D3DSWAPEFFECT

Enumerator
D3DSWAPEFFECT_DISCARD 
D3DSWAPEFFECT_FLIP 
D3DSWAPEFFECT_COPY 
D3DSWAPEFFECT_COPY_VSYNC 
D3DSWAPEFFECT_FORCE_DWORD 
D3DSWAPEFFECT_DISCARD 
D3DSWAPEFFECT_FLIP 
D3DSWAPEFFECT_COPY 
D3DSWAPEFFECT_OVERLAY 
D3DSWAPEFFECT_FLIPEX 
D3DSWAPEFFECT_FORCE_DWORD 

◆ _D3DTEXTUREADDRESS

Enumerator
D3DTADDRESS_WRAP 
D3DTADDRESS_MIRROR 
D3DTADDRESS_CLAMP 
D3DTADDRESS_BORDER 
D3DTADDRESS_MIRRORONCE 
D3DTADDRESS_FORCE_DWORD 
D3DTADDRESS_WRAP 
D3DTADDRESS_MIRROR 
D3DTADDRESS_CLAMP 
D3DTADDRESS_BORDER 
D3DTADDRESS_MIRRORONCE 
D3DTADDRESS_FORCE_DWORD 

◆ _D3DTEXTUREFILTERTYPE

Enumerator
D3DTEXF_NONE 
D3DTEXF_POINT 
D3DTEXF_LINEAR 
D3DTEXF_ANISOTROPIC 
D3DTEXF_FLATCUBIC 
D3DTEXF_GAUSSIANCUBIC 
D3DTEXF_FORCE_DWORD 
D3DTEXF_NONE 
D3DTEXF_POINT 
D3DTEXF_LINEAR 
D3DTEXF_ANISOTROPIC 
D3DTEXF_PYRAMIDALQUAD 
D3DTEXF_GAUSSIANQUAD 
D3DTEXF_CONVOLUTIONMONO 
D3DTEXF_FORCE_DWORD 

◆ _D3DTEXTUREOP

Enumerator
D3DTOP_DISABLE 
D3DTOP_SELECTARG1 
D3DTOP_SELECTARG2 
D3DTOP_MODULATE 
D3DTOP_MODULATE2X 
D3DTOP_MODULATE4X 
D3DTOP_ADD 
D3DTOP_ADDSIGNED 
D3DTOP_ADDSIGNED2X 
D3DTOP_SUBTRACT 
D3DTOP_ADDSMOOTH 
D3DTOP_BLENDDIFFUSEALPHA 
D3DTOP_BLENDTEXTUREALPHA 
D3DTOP_BLENDFACTORALPHA 
D3DTOP_BLENDTEXTUREALPHAPM 
D3DTOP_BLENDCURRENTALPHA 
D3DTOP_PREMODULATE 
D3DTOP_MODULATEALPHA_ADDCOLOR 
D3DTOP_MODULATECOLOR_ADDALPHA 
D3DTOP_MODULATEINVALPHA_ADDCOLOR 
D3DTOP_MODULATEINVCOLOR_ADDALPHA 
D3DTOP_BUMPENVMAP 
D3DTOP_BUMPENVMAPLUMINANCE 
D3DTOP_DOTPRODUCT3 
D3DTOP_MULTIPLYADD 
D3DTOP_LERP 
D3DTOP_FORCE_DWORD 
D3DTOP_DISABLE 
D3DTOP_SELECTARG1 
D3DTOP_SELECTARG2 
D3DTOP_MODULATE 
D3DTOP_MODULATE2X 
D3DTOP_MODULATE4X 
D3DTOP_ADD 
D3DTOP_ADDSIGNED 
D3DTOP_ADDSIGNED2X 
D3DTOP_SUBTRACT 
D3DTOP_ADDSMOOTH 
D3DTOP_BLENDDIFFUSEALPHA 
D3DTOP_BLENDTEXTUREALPHA 
D3DTOP_BLENDFACTORALPHA 
D3DTOP_BLENDTEXTUREALPHAPM 
D3DTOP_BLENDCURRENTALPHA 
D3DTOP_PREMODULATE 
D3DTOP_MODULATEALPHA_ADDCOLOR 
D3DTOP_MODULATECOLOR_ADDALPHA 
D3DTOP_MODULATEINVALPHA_ADDCOLOR 
D3DTOP_MODULATEINVCOLOR_ADDALPHA 
D3DTOP_BUMPENVMAP 
D3DTOP_BUMPENVMAPLUMINANCE 
D3DTOP_DOTPRODUCT3 
D3DTOP_MULTIPLYADD 
D3DTOP_LERP 
D3DTOP_FORCE_DWORD 

◆ _D3DTEXTURESTAGESTATETYPE

Enumerator
D3DTSS_COLOROP 
D3DTSS_COLORARG1 
D3DTSS_COLORARG2 
D3DTSS_ALPHAOP 
D3DTSS_ALPHAARG1 
D3DTSS_ALPHAARG2 
D3DTSS_BUMPENVMAT00 
D3DTSS_BUMPENVMAT01 
D3DTSS_BUMPENVMAT10 
D3DTSS_BUMPENVMAT11 
D3DTSS_TEXCOORDINDEX 
D3DTSS_ADDRESSU 
D3DTSS_ADDRESSV 
D3DTSS_BORDERCOLOR 
D3DTSS_MAGFILTER 
D3DTSS_MINFILTER 
D3DTSS_MIPFILTER 
D3DTSS_MIPMAPLODBIAS 
D3DTSS_MAXMIPLEVEL 
D3DTSS_MAXANISOTROPY 
D3DTSS_BUMPENVLSCALE 
D3DTSS_BUMPENVLOFFSET 
D3DTSS_TEXTURETRANSFORMFLAGS 
D3DTSS_ADDRESSW 
D3DTSS_COLORARG0 
D3DTSS_ALPHAARG0 
D3DTSS_RESULTARG 
D3DTSS_FORCE_DWORD 
D3DTSS_COLOROP 
D3DTSS_COLORARG1 
D3DTSS_COLORARG2 
D3DTSS_ALPHAOP 
D3DTSS_ALPHAARG1 
D3DTSS_ALPHAARG2 
D3DTSS_BUMPENVMAT00 
D3DTSS_BUMPENVMAT01 
D3DTSS_BUMPENVMAT10 
D3DTSS_BUMPENVMAT11 
D3DTSS_TEXCOORDINDEX 
D3DTSS_BUMPENVLSCALE 
D3DTSS_BUMPENVLOFFSET 
D3DTSS_TEXTURETRANSFORMFLAGS 
D3DTSS_COLORARG0 
D3DTSS_ALPHAARG0 
D3DTSS_RESULTARG 
D3DTSS_CONSTANT 
D3DTSS_FORCE_DWORD 

◆ _D3DTEXTURETRANSFORMFLAGS

Enumerator
D3DTTFF_DISABLE 
D3DTTFF_COUNT1 
D3DTTFF_COUNT2 
D3DTTFF_COUNT3 
D3DTTFF_COUNT4 
D3DTTFF_PROJECTED 
D3DTTFF_FORCE_DWORD 
D3DTTFF_DISABLE 
D3DTTFF_COUNT1 
D3DTTFF_COUNT2 
D3DTTFF_COUNT3 
D3DTTFF_COUNT4 
D3DTTFF_PROJECTED 
D3DTTFF_FORCE_DWORD 

◆ _D3DTRANSFORMSTATETYPE

Enumerator
D3DTS_VIEW 
D3DTS_PROJECTION 
D3DTS_TEXTURE0 
D3DTS_TEXTURE1 
D3DTS_TEXTURE2 
D3DTS_TEXTURE3 
D3DTS_TEXTURE4 
D3DTS_TEXTURE5 
D3DTS_TEXTURE6 
D3DTS_TEXTURE7 
D3DTS_FORCE_DWORD 
D3DTS_VIEW 
D3DTS_PROJECTION 
D3DTS_TEXTURE0 
D3DTS_TEXTURE1 
D3DTS_TEXTURE2 
D3DTS_TEXTURE3 
D3DTS_TEXTURE4 
D3DTS_TEXTURE5 
D3DTS_TEXTURE6 
D3DTS_TEXTURE7 
D3DTS_FORCE_DWORD 

◆ _D3DVERTEXBLENDFLAGS

Enumerator
D3DVBF_DISABLE 
D3DVBF_1WEIGHTS 
D3DVBF_2WEIGHTS 
D3DVBF_3WEIGHTS 
D3DVBF_TWEENING 
D3DVBF_0WEIGHTS 
D3DVBF_FORCE_DWORD 
D3DVBF_DISABLE 
D3DVBF_1WEIGHTS 
D3DVBF_2WEIGHTS 
D3DVBF_3WEIGHTS 
D3DVBF_TWEENING 
D3DVBF_0WEIGHTS 
D3DVBF_FORCE_DWORD 

◆ _D3DVS_ADDRESSMODE_TYPE

Enumerator
D3DVS_ADDRMODE_ABSOLUTE 
D3DVS_ADDRMODE_RELATIVE 
D3DVS_ADDRMODE_FORCE_DWORD 
D3DVS_ADDRMODE_ABSOLUTE 
D3DVS_ADDRMODE_RELATIVE 
D3DVS_ADDRMODE_FORCE_DWORD 

◆ _D3DVS_RASTOUT_OFFSETS

Enumerator
D3DSRO_POSITION 
D3DSRO_FOG 
D3DSRO_POINT_SIZE 
D3DSRO_FORCE_DWORD 
D3DSRO_POSITION 
D3DSRO_FOG 
D3DSRO_POINT_SIZE 
D3DSRO_FORCE_DWORD 

◆ _D3DVSD_TOKENTYPE

Enumerator
D3DVSD_TOKEN_NOP 
D3DVSD_TOKEN_STREAM 
D3DVSD_TOKEN_STREAMDATA 
D3DVSD_TOKEN_TESSELLATOR 
D3DVSD_TOKEN_CONSTMEM 
D3DVSD_TOKEN_EXT 
D3DVSD_TOKEN_END 
D3DVSD_FORCE_DWORD 

◆ _D3DZBUFFERTYPE

Enumerator
D3DZB_FALSE 
D3DZB_TRUE 
D3DZB_USEW 
D3DZB_FORCE_DWORD 
D3DZB_FALSE 
D3DZB_TRUE 
D3DZB_USEW 
D3DZB_FORCE_DWORD