ReactOS  0.4.12-dev-708-g95ed44e
d3d8types.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _D3DADAPTER_IDENTIFIER8
 
struct  _D3DBOX
 
struct  _D3DCLIPSTATUS8
 
struct  _D3DCOLORVALUE
 
struct  _D3DDEVICE_CREATION_PARAMETERS
 
struct  _D3DDISPLAYMODE
 
struct  _D3DGAMMARAMP
 
struct  _D3DINDEXBUFFER_DESC
 
struct  _D3DVECTOR
 
struct  _D3DLIGHT8
 
struct  _D3DLINEPATTERN
 
struct  _D3DLOCKED_BOX
 
struct  _D3DLOCKED_RECT
 
struct  _D3DMATERIAL8
 
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  _D3DVIEWPORT8
 
struct  _D3DVOLUME_DESC
 

Macros

#define D3DCLEAR_TARGET   1
 
#define D3DCLEAR_ZBUFFER   2
 
#define D3DCLEAR_STENCIL   4
 
#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 D3DCS_LEFT   0x001
 
#define D3DCS_RIGHT   0x002
 
#define D3DCS_TOP   0x004
 
#define D3DCS_BOTTOM   0x008
 
#define D3DCS_FRONT   0x010
 
#define D3DCS_BACK   0x020
 
#define D3DCS_PLANE0   0x040
 
#define D3DCS_PLANE1   0x080
 
#define D3DCS_PLANE2   0x100
 
#define D3DCS_PLANE3   0x200
 
#define D3DCS_PLANE4   0x400
 
#define D3DCS_PLANE5   0x800
 
#define D3DCS_ALL   0xFFF
 
#define D3DFVF_TEXTUREFORMAT1   3
 
#define D3DFVF_TEXTUREFORMAT2   0
 
#define D3DFVF_TEXTUREFORMAT3   1
 
#define D3DFVF_TEXTUREFORMAT4   2
 
#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_NO_DIRTY_UPDATE   0x8000
 
#define D3DMAXUSERCLIPPLANES   32
 
#define D3DRENDERSTATE_WRAPBIAS   0x80
 
#define D3DTSS_TCI_PASSTHRU   0x00000
 
#define D3DTSS_TCI_CAMERASPACENORMAL   0x10000
 
#define D3DTSS_TCI_CAMERASPACEPOSITION   0x20000
 
#define D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR   0x30000
 
#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   0x01
 
#define D3DUSAGE_DEPTHSTENCIL   0x02
 
#define D3DUSAGE_WRITEONLY   0x08
 
#define D3DUSAGE_SOFTWAREPROCESSING   0x10
 
#define D3DUSAGE_DONOTCLIP   0x20
 
#define D3DUSAGE_POINTS   0x40
 
#define D3DUSAGE_RTPATCHES   0x80
 
#define D3DUSAGE_NPATCHES   0x100
 
#define D3DUSAGE_DYNAMIC   0x200
 
#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   0x000E
 
#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_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_RESERVED2   0xE000
 
#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_COMPLEMENT   0x00000010
 
#define D3DTA_ALPHAREPLICATE   0x00000020
 
#define D3DTA_TEMP   0x00000005
 
#define D3DCOLORWRITEENABLE_RED   (1L<<0)
 
#define D3DCOLORWRITEENABLE_GREEN   (1L<<1)
 
#define D3DCOLORWRITEENABLE_BLUE   (1L<<2)
 
#define D3DCOLORWRITEENABLE_ALPHA   (1L<<3)
 
#define MAKEFOURCC(ch0, ch1, ch2, ch3)
 
#define D3DVSD_CONSTADDRESSSHIFT   0
 
#define D3DVSD_EXTINFOSHIFT   0
 
#define D3DVSD_STREAMNUMBERSHIFT   0
 
#define D3DVSD_VERTEXREGSHIFT   0
 
#define D3DVSD_CONSTRSSHIFT   16
 
#define D3DVSD_DATATYPESHIFT   16
 
#define D3DVSD_SKIPCOUNTSHIFT   16
 
#define D3DVSD_VERTEXREGINSHIFT   20
 
#define D3DVSD_EXTCOUNTSHIFT   24
 
#define D3DVSD_CONSTCOUNTSHIFT   25
 
#define D3DVSD_DATALOADTYPESHIFT   28
 
#define D3DVSD_STREAMTESSSHIFT   28
 
#define D3DVSD_TOKENTYPESHIFT   29
 
#define D3DVSD_CONSTADDRESSMASK   (0x7F << D3DVSD_CONSTADDRESSSHIFT)
 
#define D3DVSD_EXTINFOMASK   (0xFFFFFF << D3DVSD_EXTINFOSHIFT)
 
#define D3DVSD_STREAMNUMBERMASK   (0xF << D3DVSD_STREAMNUMBERSHIFT)
 
#define D3DVSD_VERTEXREGMASK   (0x1F << D3DVSD_VERTEXREGSHIFT)
 
#define D3DVSD_CONSTRSMASK   (0x1FFF << D3DVSD_CONSTRSSHIFT)
 
#define D3DVSD_DATATYPEMASK   (0xF << D3DVSD_DATATYPESHIFT)
 
#define D3DVSD_SKIPCOUNTMASK   (0xF << D3DVSD_SKIPCOUNTSHIFT)
 
#define D3DVSD_EXTCOUNTMASK   (0x1F << D3DVSD_EXTCOUNTSHIFT)
 
#define D3DVSD_VERTEXREGINMASK   (0xF << D3DVSD_VERTEXREGINSHIFT)
 
#define D3DVSD_CONSTCOUNTMASK   (0xF << D3DVSD_CONSTCOUNTSHIFT)
 
#define D3DVSD_DATALOADTYPEMASK   (0x1 << D3DVSD_DATALOADTYPESHIFT)
 
#define D3DVSD_STREAMTESSMASK   (0x1 << D3DVSD_STREAMTESSSHIFT)
 
#define D3DVSD_TOKENTYPEMASK   (0x7u << D3DVSD_TOKENTYPESHIFT)
 
#define D3DVSD_MAKETOKENTYPE(TokenType)   (((unsigned)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_COISSUE   0x40000000
 
#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_MASK   (0x7 << D3DSP_REGTYPE_SHIFT)
 
#define D3DVS_ADDRESSMODE_SHIFT   13
 
#define D3DVS_ADDRESSMODE_MASK   (0x1 << D3DVS_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 D3DVECTOR_DEFINED
 
#define D3DPRESENTFLAG_LOCKABLE_BACKBUFFER   0x00000001
 

Typedefs

typedef enum _D3DVSD_TOKENTYPE D3DVSD_TOKENTYPE
 
typedef enum _D3DVSDE_REGISTER D3DVSDE_REGISTER
 
typedef enum _D3DVSDT_TYPE D3DVSDT_TYPE
 
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 _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 _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 _D3DORDERTYPE D3DORDERTYPE
 
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 DWORD D3DCOLOR
 
typedef struct _D3DADAPTER_IDENTIFIER8 D3DADAPTER_IDENTIFIER8
 
typedef struct _D3DBOX D3DBOX
 
typedef struct _D3DCLIPSTATUS8 D3DCLIPSTATUS8
 
typedef struct _D3DCOLORVALUE D3DCOLORVALUE
 
typedef struct _D3DDEVICE_CREATION_PARAMETERS D3DDEVICE_CREATION_PARAMETERS
 
typedef struct _D3DDISPLAYMODE D3DDISPLAYMODE
 
typedef struct _D3DGAMMARAMP D3DGAMMARAMP
 
typedef struct _D3DINDEXBUFFER_DESC D3DINDEXBUFFER_DESC
 
typedef struct _D3DVECTOR D3DVECTOR
 
typedef struct _D3DLIGHT8 D3DLIGHT8
 
typedef struct _D3DLINEPATTERN D3DLINEPATTERN
 
typedef struct _D3DLOCKED_BOX D3DLOCKED_BOX
 
typedef struct _D3DLOCKED_RECT D3DLOCKED_RECT
 
typedef struct _D3DMATERIAL8 D3DMATERIAL8
 
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 _D3DVIEWPORT8 D3DVIEWPORT8
 
typedef struct _D3DVOLUME_DESC D3DVOLUME_DESC
 

Enumerations

enum  _D3DVSD_TOKENTYPE {
  D3DVSD_TOKEN_NOP = 0, D3DVSD_TOKEN_STREAM = 1, D3DVSD_TOKEN_STREAMDATA = 2, D3DVSD_TOKEN_TESSELLATOR = 3,
  D3DVSD_TOKEN_CONSTMEM = 4, D3DVSD_TOKEN_EXT = 5, D3DVSD_TOKEN_END = 7, D3DVSD_FORCE_DWORD = 0x7FFFFFFF
}
 
enum  _D3DVSDE_REGISTER {
  D3DVSDE_POSITION = 0, D3DVSDE_BLENDWEIGHT = 1, D3DVSDE_BLENDINDICES = 2, D3DVSDE_NORMAL = 3,
  D3DVSDE_PSIZE = 4, D3DVSDE_DIFFUSE = 5, D3DVSDE_SPECULAR = 6, D3DVSDE_TEXCOORD0 = 7,
  D3DVSDE_TEXCOORD1 = 8, D3DVSDE_TEXCOORD2 = 9, D3DVSDE_TEXCOORD3 = 10, D3DVSDE_TEXCOORD4 = 11,
  D3DVSDE_TEXCOORD5 = 12, D3DVSDE_TEXCOORD6 = 13, D3DVSDE_TEXCOORD7 = 14, D3DVSDE_POSITION2 = 15,
  D3DVSDE_NORMAL2 = 16
}
 
enum  _D3DVSDT_TYPE {
  D3DVSDT_FLOAT1 = 0x00, D3DVSDT_FLOAT2 = 0x01, D3DVSDT_FLOAT3 = 0x02, D3DVSDT_FLOAT4 = 0x03,
  D3DVSDT_D3DCOLOR = 0x04, D3DVSDT_UBYTE4 = 0x05, D3DVSDT_SHORT2 = 0x06, D3DVSDT_SHORT4 = 0x07
}
 
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  _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  _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_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  _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_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  _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  _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
}
 

Macro Definition Documentation

◆ D3DCLEAR_STENCIL

#define D3DCLEAR_STENCIL   4

Definition at line 32 of file d3d8types.h.

◆ D3DCLEAR_TARGET

#define D3DCLEAR_TARGET   1

Definition at line 30 of file d3d8types.h.

◆ D3DCLEAR_ZBUFFER

#define D3DCLEAR_ZBUFFER   2

Definition at line 31 of file d3d8types.h.

◆ D3DCLIPPLANE0

#define D3DCLIPPLANE0   (1 << 0)

Definition at line 34 of file d3d8types.h.

◆ D3DCLIPPLANE1

#define D3DCLIPPLANE1   (1 << 1)

Definition at line 35 of file d3d8types.h.

◆ D3DCLIPPLANE2

#define D3DCLIPPLANE2   (1 << 2)

Definition at line 36 of file d3d8types.h.

◆ D3DCLIPPLANE3

#define D3DCLIPPLANE3   (1 << 3)

Definition at line 37 of file d3d8types.h.

◆ D3DCLIPPLANE4

#define D3DCLIPPLANE4   (1 << 4)

Definition at line 38 of file d3d8types.h.

◆ D3DCLIPPLANE5

#define D3DCLIPPLANE5   (1 << 5)

Definition at line 39 of file d3d8types.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 41 of file d3d8types.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 42 of file d3d8types.h.

◆ D3DCOLOR_RGBA

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

Definition at line 43 of file d3d8types.h.

◆ D3DCOLOR_XRGB

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

Definition at line 44 of file d3d8types.h.

◆ D3DCOLORWRITEENABLE_ALPHA

#define D3DCOLORWRITEENABLE_ALPHA   (1L<<3)

Definition at line 151 of file d3d8types.h.

◆ D3DCOLORWRITEENABLE_BLUE

#define D3DCOLORWRITEENABLE_BLUE   (1L<<2)

Definition at line 150 of file d3d8types.h.

◆ D3DCOLORWRITEENABLE_GREEN

#define D3DCOLORWRITEENABLE_GREEN   (1L<<1)

Definition at line 149 of file d3d8types.h.

◆ D3DCOLORWRITEENABLE_RED

#define D3DCOLORWRITEENABLE_RED   (1L<<0)

Definition at line 148 of file d3d8types.h.

◆ D3DCS_ALL

#define D3DCS_ALL   0xFFF

Definition at line 58 of file d3d8types.h.

◆ D3DCS_BACK

#define D3DCS_BACK   0x020

Definition at line 51 of file d3d8types.h.

◆ D3DCS_BOTTOM

#define D3DCS_BOTTOM   0x008

Definition at line 49 of file d3d8types.h.

◆ D3DCS_FRONT

#define D3DCS_FRONT   0x010

Definition at line 50 of file d3d8types.h.

◆ D3DCS_LEFT

#define D3DCS_LEFT   0x001

Definition at line 46 of file d3d8types.h.

◆ D3DCS_PLANE0

#define D3DCS_PLANE0   0x040

Definition at line 52 of file d3d8types.h.

◆ D3DCS_PLANE1

#define D3DCS_PLANE1   0x080

Definition at line 53 of file d3d8types.h.

◆ D3DCS_PLANE2

#define D3DCS_PLANE2   0x100

Definition at line 54 of file d3d8types.h.

◆ D3DCS_PLANE3

#define D3DCS_PLANE3   0x200

Definition at line 55 of file d3d8types.h.

◆ D3DCS_PLANE4

#define D3DCS_PLANE4   0x400

Definition at line 56 of file d3d8types.h.

◆ D3DCS_PLANE5

#define D3DCS_PLANE5   0x800

Definition at line 57 of file d3d8types.h.

◆ D3DCS_RIGHT

#define D3DCS_RIGHT   0x002

Definition at line 47 of file d3d8types.h.

◆ D3DCS_TOP

#define D3DCS_TOP   0x004

Definition at line 48 of file d3d8types.h.

◆ D3DDP_MAXTEXCOORD

#define D3DDP_MAXTEXCOORD   8

Maximum number of supported texture coordinates sets operation

Definition at line 303 of file d3d8types.h.

◆ D3DFVF_DIFFUSE

#define D3DFVF_DIFFUSE   0x0040

Definition at line 122 of file d3d8types.h.

◆ D3DFVF_LASTBETA_UBYTE4

#define D3DFVF_LASTBETA_UBYTE4   0x1000

Definition at line 135 of file d3d8types.h.

◆ D3DFVF_NORMAL

#define D3DFVF_NORMAL   0x0010

Definition at line 120 of file d3d8types.h.

◆ D3DFVF_POSITION_MASK

#define D3DFVF_POSITION_MASK   0x000E

Definition at line 112 of file d3d8types.h.

◆ D3DFVF_PSIZE

#define D3DFVF_PSIZE   0x0020

Definition at line 121 of file d3d8types.h.

◆ D3DFVF_RESERVED0

#define D3DFVF_RESERVED0   0x0001

Definition at line 111 of file d3d8types.h.

◆ D3DFVF_RESERVED2

#define D3DFVF_RESERVED2   0xE000

Definition at line 136 of file d3d8types.h.

◆ D3DFVF_SPECULAR

#define D3DFVF_SPECULAR   0x0080

Definition at line 123 of file d3d8types.h.

◆ D3DFVF_TEX0

#define D3DFVF_TEX0   0x0000

Definition at line 126 of file d3d8types.h.

◆ D3DFVF_TEX1

#define D3DFVF_TEX1   0x0100

Definition at line 127 of file d3d8types.h.

◆ D3DFVF_TEX2

#define D3DFVF_TEX2   0x0200

Definition at line 128 of file d3d8types.h.

◆ D3DFVF_TEX3

#define D3DFVF_TEX3   0x0300

Definition at line 129 of file d3d8types.h.

◆ D3DFVF_TEX4

#define D3DFVF_TEX4   0x0400

Definition at line 130 of file d3d8types.h.

◆ D3DFVF_TEX5

#define D3DFVF_TEX5   0x0500

Definition at line 131 of file d3d8types.h.

◆ D3DFVF_TEX6

#define D3DFVF_TEX6   0x0600

Definition at line 132 of file d3d8types.h.

◆ D3DFVF_TEX7

#define D3DFVF_TEX7   0x0700

Definition at line 133 of file d3d8types.h.

◆ D3DFVF_TEX8

#define D3DFVF_TEX8   0x0800

Definition at line 134 of file d3d8types.h.

◆ D3DFVF_TEXCOORDSIZE1

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

Definition at line 64 of file d3d8types.h.

◆ D3DFVF_TEXCOORDSIZE2

#define D3DFVF_TEXCOORDSIZE2 (   CoordIndex)    (D3DFVF_TEXTUREFORMAT2)

Definition at line 65 of file d3d8types.h.

◆ D3DFVF_TEXCOORDSIZE3

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

Definition at line 66 of file d3d8types.h.

◆ D3DFVF_TEXCOORDSIZE4

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

Definition at line 67 of file d3d8types.h.

◆ D3DFVF_TEXCOUNT_MASK

#define D3DFVF_TEXCOUNT_MASK   0x0f00

Definition at line 124 of file d3d8types.h.

◆ D3DFVF_TEXCOUNT_SHIFT

#define D3DFVF_TEXCOUNT_SHIFT   8

Definition at line 125 of file d3d8types.h.

◆ D3DFVF_TEXTUREFORMAT1

#define D3DFVF_TEXTUREFORMAT1   3

Definition at line 60 of file d3d8types.h.

◆ D3DFVF_TEXTUREFORMAT2

#define D3DFVF_TEXTUREFORMAT2   0

Definition at line 61 of file d3d8types.h.

◆ D3DFVF_TEXTUREFORMAT3

#define D3DFVF_TEXTUREFORMAT3   1

Definition at line 62 of file d3d8types.h.

◆ D3DFVF_TEXTUREFORMAT4

#define D3DFVF_TEXTUREFORMAT4   2

Definition at line 63 of file d3d8types.h.

◆ D3DFVF_XYZ

#define D3DFVF_XYZ   0x0002

Definition at line 113 of file d3d8types.h.

◆ D3DFVF_XYZB1

#define D3DFVF_XYZB1   0x0006

Definition at line 115 of file d3d8types.h.

◆ D3DFVF_XYZB2

#define D3DFVF_XYZB2   0x0008

Definition at line 116 of file d3d8types.h.

◆ D3DFVF_XYZB3

#define D3DFVF_XYZB3   0x000a

Definition at line 117 of file d3d8types.h.

◆ D3DFVF_XYZB4

#define D3DFVF_XYZB4   0x000c

Definition at line 118 of file d3d8types.h.

◆ D3DFVF_XYZB5

#define D3DFVF_XYZB5   0x000e

Definition at line 119 of file d3d8types.h.

◆ D3DFVF_XYZRHW

#define D3DFVF_XYZRHW   0x0004

Definition at line 114 of file d3d8types.h.

◆ D3DLOCK_DISCARD

#define D3DLOCK_DISCARD   0x2000

Definition at line 72 of file d3d8types.h.

◆ D3DLOCK_NO_DIRTY_UPDATE

#define D3DLOCK_NO_DIRTY_UPDATE   0x8000

Definition at line 73 of file d3d8types.h.

◆ D3DLOCK_NOOVERWRITE

#define D3DLOCK_NOOVERWRITE   0x1000

Definition at line 71 of file d3d8types.h.

◆ D3DLOCK_NOSYSLOCK

#define D3DLOCK_NOSYSLOCK   0x0800

Definition at line 70 of file d3d8types.h.

◆ D3DLOCK_READONLY

#define D3DLOCK_READONLY   0x0010

Definition at line 69 of file d3d8types.h.

◆ D3DMAXUSERCLIPPLANES

#define D3DMAXUSERCLIPPLANES   32

Definition at line 75 of file d3d8types.h.

◆ D3DPRESENTFLAG_LOCKABLE_BACKBUFFER

#define D3DPRESENTFLAG_LOCKABLE_BACKBUFFER   0x00000001

Definition at line 1140 of file d3d8types.h.

◆ D3DPS_END

#define D3DPS_END ( )    0x0000FFFF

Definition at line 485 of file d3d8types.h.

◆ D3DPS_VERSION

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

Definition at line 474 of file d3d8types.h.

◆ D3DRENDERSTATE_WRAPBIAS

#define D3DRENDERSTATE_WRAPBIAS   0x80

Definition at line 77 of file d3d8types.h.

◆ D3DSHADER_COMMENT

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

Definition at line 482 of file d3d8types.h.

◆ D3DSHADER_VERSION_MAJOR

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

Definition at line 476 of file d3d8types.h.

◆ D3DSHADER_VERSION_MINOR

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

Definition at line 477 of file d3d8types.h.

◆ D3DSI_COISSUE

#define D3DSI_COISSUE   0x40000000

for parallelism

Definition at line 371 of file d3d8types.h.

◆ D3DSI_COMMENTSIZE_MASK

#define D3DSI_COMMENTSIZE_MASK   (0x7FFF << D3DSI_COMMENTSIZE_SHIFT)

Definition at line 480 of file d3d8types.h.

◆ D3DSI_COMMENTSIZE_SHIFT

#define D3DSI_COMMENTSIZE_SHIFT   16

Definition at line 479 of file d3d8types.h.

◆ D3DSI_OPCODE_MASK

#define D3DSI_OPCODE_MASK   0x0000FFFF

opcode token mask

Definition at line 306 of file d3d8types.h.

◆ D3DSP_DSTMOD_MASK

#define D3DSP_DSTMOD_MASK   (0xF << D3DSP_DSTMOD_SHIFT)

Definition at line 381 of file d3d8types.h.

◆ D3DSP_DSTMOD_SHIFT

#define D3DSP_DSTMOD_SHIFT   20

Definition at line 380 of file d3d8types.h.

◆ D3DSP_DSTSHIFT_MASK

#define D3DSP_DSTSHIFT_MASK   (0xF << D3DSP_DSTSHIFT_SHIFT)

Definition at line 391 of file d3d8types.h.

◆ D3DSP_DSTSHIFT_SHIFT

#define D3DSP_DSTSHIFT_SHIFT   24

destination param

Definition at line 390 of file d3d8types.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 453 of file d3d8types.h.

◆ D3DSP_REGTYPE_MASK

#define D3DSP_REGTYPE_MASK   (0x7 << D3DSP_REGTYPE_SHIFT)

Definition at line 395 of file d3d8types.h.

◆ D3DSP_REGTYPE_SHIFT

#define D3DSP_REGTYPE_SHIFT   28

destination/source reg type

Definition at line 394 of file d3d8types.h.

◆ D3DSP_SRCMOD_MASK

#define D3DSP_SRCMOD_MASK   (0xF << D3DSP_SRCMOD_SHIFT)

Definition at line 457 of file d3d8types.h.

◆ D3DSP_SRCMOD_SHIFT

#define D3DSP_SRCMOD_SHIFT   24

Definition at line 456 of file d3d8types.h.

◆ D3DSP_SWIZZLE_MASK

#define D3DSP_SWIZZLE_MASK   (0xFF << D3DSP_SWIZZLE_SHIFT)

Definition at line 429 of file d3d8types.h.

◆ D3DSP_SWIZZLE_SHIFT

#define D3DSP_SWIZZLE_SHIFT   16

Definition at line 428 of file d3d8types.h.

◆ D3DSP_WRITEMASK_0

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

destination parameter modifiers (.xyzw)

Definition at line 374 of file d3d8types.h.

◆ D3DSP_WRITEMASK_1

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

Definition at line 375 of file d3d8types.h.

◆ D3DSP_WRITEMASK_2

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

Definition at line 376 of file d3d8types.h.

◆ D3DSP_WRITEMASK_3

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

Definition at line 377 of file d3d8types.h.

◆ D3DSP_WRITEMASK_ALL

#define D3DSP_WRITEMASK_ALL   0x000F0000 /* all */

Definition at line 378 of file d3d8types.h.

◆ D3DTA_ALPHAREPLICATE

#define D3DTA_ALPHAREPLICATE   0x00000020

Definition at line 145 of file d3d8types.h.

◆ D3DTA_COMPLEMENT

#define D3DTA_COMPLEMENT   0x00000010

Definition at line 144 of file d3d8types.h.

◆ D3DTA_CURRENT

#define D3DTA_CURRENT   0x00000001

Definition at line 140 of file d3d8types.h.

◆ D3DTA_DIFFUSE

#define D3DTA_DIFFUSE   0x00000000

Definition at line 139 of file d3d8types.h.

◆ D3DTA_SELECTMASK

#define D3DTA_SELECTMASK   0x0000000f

Definition at line 138 of file d3d8types.h.

◆ D3DTA_SPECULAR

#define D3DTA_SPECULAR   0x00000004

Definition at line 143 of file d3d8types.h.

◆ D3DTA_TEMP

#define D3DTA_TEMP   0x00000005

Definition at line 146 of file d3d8types.h.

◆ D3DTA_TEXTURE

#define D3DTA_TEXTURE   0x00000002

Definition at line 141 of file d3d8types.h.

◆ D3DTA_TFACTOR

#define D3DTA_TFACTOR   0x00000003

Definition at line 142 of file d3d8types.h.

◆ D3DTS_WORLD

#define D3DTS_WORLD   D3DTS_WORLDMATRIX(0)

Definition at line 85 of file d3d8types.h.

◆ D3DTS_WORLD1

#define D3DTS_WORLD1   D3DTS_WORLDMATRIX(1)

Definition at line 86 of file d3d8types.h.

◆ D3DTS_WORLD2

#define D3DTS_WORLD2   D3DTS_WORLDMATRIX(2)

Definition at line 87 of file d3d8types.h.

◆ D3DTS_WORLD3

#define D3DTS_WORLD3   D3DTS_WORLDMATRIX(3)

Definition at line 88 of file d3d8types.h.

◆ D3DTS_WORLDMATRIX

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

Definition at line 89 of file d3d8types.h.

◆ D3DTSS_TCI_CAMERASPACENORMAL

#define D3DTSS_TCI_CAMERASPACENORMAL   0x10000

Definition at line 80 of file d3d8types.h.

◆ D3DTSS_TCI_CAMERASPACEPOSITION

#define D3DTSS_TCI_CAMERASPACEPOSITION   0x20000

Definition at line 81 of file d3d8types.h.

◆ D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR

#define D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR   0x30000

Definition at line 82 of file d3d8types.h.

◆ D3DTSS_TCI_PASSTHRU

#define D3DTSS_TCI_PASSTHRU   0x00000

Definition at line 79 of file d3d8types.h.

◆ D3DUSAGE_DEPTHSTENCIL

#define D3DUSAGE_DEPTHSTENCIL   0x02

Definition at line 92 of file d3d8types.h.

◆ D3DUSAGE_DONOTCLIP

#define D3DUSAGE_DONOTCLIP   0x20

Definition at line 95 of file d3d8types.h.

◆ D3DUSAGE_DYNAMIC

#define D3DUSAGE_DYNAMIC   0x200

Definition at line 99 of file d3d8types.h.

◆ D3DUSAGE_NPATCHES

#define D3DUSAGE_NPATCHES   0x100

Definition at line 98 of file d3d8types.h.

◆ D3DUSAGE_POINTS

#define D3DUSAGE_POINTS   0x40

Definition at line 96 of file d3d8types.h.

◆ D3DUSAGE_RENDERTARGET

#define D3DUSAGE_RENDERTARGET   0x01

Definition at line 91 of file d3d8types.h.

◆ D3DUSAGE_RTPATCHES

#define D3DUSAGE_RTPATCHES   0x80

Definition at line 97 of file d3d8types.h.

◆ D3DUSAGE_SOFTWAREPROCESSING

#define D3DUSAGE_SOFTWAREPROCESSING   0x10

Definition at line 94 of file d3d8types.h.

◆ D3DUSAGE_WRITEONLY

#define D3DUSAGE_WRITEONLY   0x08

Definition at line 93 of file d3d8types.h.

◆ D3DVECTOR_DEFINED

#define D3DVECTOR_DEFINED

Definition at line 1065 of file d3d8types.h.

◆ D3DVS_ADDRESSMODE_MASK

#define D3DVS_ADDRESSMODE_MASK   (0x1 << D3DVS_ADDRESSMODE_SHIFT)

Definition at line 417 of file d3d8types.h.

◆ D3DVS_ADDRESSMODE_SHIFT

#define D3DVS_ADDRESSMODE_SHIFT   13

Definition at line 416 of file d3d8types.h.

◆ D3DVS_END

#define D3DVS_END ( )    0x0000FFFF

Definition at line 486 of file d3d8types.h.

◆ D3DVS_NOSWIZZLE

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

Definition at line 451 of file d3d8types.h.

◆ D3DVS_SWIZZLE_MASK

#define D3DVS_SWIZZLE_MASK   (0xFF << D3DVS_SWIZZLE_SHIFT)

Definition at line 426 of file d3d8types.h.

◆ D3DVS_SWIZZLE_SHIFT

#define D3DVS_SWIZZLE_SHIFT   16

Definition at line 425 of file d3d8types.h.

◆ D3DVS_VERSION

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

Definition at line 475 of file d3d8types.h.

◆ D3DVS_W_W

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

Definition at line 449 of file d3d8types.h.

◆ D3DVS_W_X

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

Definition at line 446 of file d3d8types.h.

◆ D3DVS_W_Y

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

Definition at line 447 of file d3d8types.h.

◆ D3DVS_W_Z

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

Definition at line 448 of file d3d8types.h.

◆ D3DVS_X_W

#define D3DVS_X_W   (3 << D3DVS_SWIZZLE_SHIFT)

Definition at line 434 of file d3d8types.h.

◆ D3DVS_X_X

#define D3DVS_X_X   (0 << D3DVS_SWIZZLE_SHIFT)

Definition at line 431 of file d3d8types.h.

◆ D3DVS_X_Y

#define D3DVS_X_Y   (1 << D3DVS_SWIZZLE_SHIFT)

Definition at line 432 of file d3d8types.h.

◆ D3DVS_X_Z

#define D3DVS_X_Z   (2 << D3DVS_SWIZZLE_SHIFT)

Definition at line 433 of file d3d8types.h.

◆ D3DVS_Y_W

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

Definition at line 439 of file d3d8types.h.

◆ D3DVS_Y_X

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

Definition at line 436 of file d3d8types.h.

◆ D3DVS_Y_Y

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

Definition at line 437 of file d3d8types.h.

◆ D3DVS_Y_Z

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

Definition at line 438 of file d3d8types.h.

◆ D3DVS_Z_W

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

Definition at line 444 of file d3d8types.h.

◆ D3DVS_Z_X

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

Definition at line 441 of file d3d8types.h.

◆ D3DVS_Z_Y

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

Definition at line 442 of file d3d8types.h.

◆ D3DVS_Z_Z

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

Definition at line 443 of file d3d8types.h.

◆ D3DVSD_CONST

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

Definition at line 272 of file d3d8types.h.

◆ D3DVSD_CONSTADDRESSMASK

#define D3DVSD_CONSTADDRESSMASK   (0x7F << D3DVSD_CONSTADDRESSSHIFT)

Definition at line 254 of file d3d8types.h.

◆ D3DVSD_CONSTADDRESSSHIFT

#define D3DVSD_CONSTADDRESSSHIFT   0

Definition at line 240 of file d3d8types.h.

◆ D3DVSD_CONSTCOUNTMASK

#define D3DVSD_CONSTCOUNTMASK   (0xF << D3DVSD_CONSTCOUNTSHIFT)

Definition at line 263 of file d3d8types.h.

◆ D3DVSD_CONSTCOUNTSHIFT

#define D3DVSD_CONSTCOUNTSHIFT   25

Definition at line 249 of file d3d8types.h.

◆ D3DVSD_CONSTRSMASK

#define D3DVSD_CONSTRSMASK   (0x1FFF << D3DVSD_CONSTRSSHIFT)

Definition at line 258 of file d3d8types.h.

◆ D3DVSD_CONSTRSSHIFT

#define D3DVSD_CONSTRSSHIFT   16

Definition at line 244 of file d3d8types.h.

◆ D3DVSD_DATALOADTYPEMASK

#define D3DVSD_DATALOADTYPEMASK   (0x1 << D3DVSD_DATALOADTYPESHIFT)

Definition at line 264 of file d3d8types.h.

◆ D3DVSD_DATALOADTYPESHIFT

#define D3DVSD_DATALOADTYPESHIFT   28

Definition at line 250 of file d3d8types.h.

◆ D3DVSD_DATATYPEMASK

#define D3DVSD_DATATYPEMASK   (0xF << D3DVSD_DATATYPESHIFT)

Definition at line 259 of file d3d8types.h.

◆ D3DVSD_DATATYPESHIFT

#define D3DVSD_DATATYPESHIFT   16

Definition at line 245 of file d3d8types.h.

◆ D3DVSD_END

#define D3DVSD_END ( )    0xFFFFFFFF

Definition at line 275 of file d3d8types.h.

◆ D3DVSD_EXTCOUNTMASK

#define D3DVSD_EXTCOUNTMASK   (0x1F << D3DVSD_EXTCOUNTSHIFT)

Definition at line 261 of file d3d8types.h.

◆ D3DVSD_EXTCOUNTSHIFT

#define D3DVSD_EXTCOUNTSHIFT   24

Definition at line 248 of file d3d8types.h.

◆ D3DVSD_EXTINFOMASK

#define D3DVSD_EXTINFOMASK   (0xFFFFFF << D3DVSD_EXTINFOSHIFT)

Definition at line 255 of file d3d8types.h.

◆ D3DVSD_EXTINFOSHIFT

#define D3DVSD_EXTINFOSHIFT   0

Definition at line 241 of file d3d8types.h.

◆ D3DVSD_MAKETOKENTYPE

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

Definition at line 269 of file d3d8types.h.

◆ D3DVSD_NOP

#define D3DVSD_NOP ( )    0x00000000

Definition at line 277 of file d3d8types.h.

◆ D3DVSD_REG

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

Definition at line 279 of file d3d8types.h.

◆ D3DVSD_SKIP

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

Definition at line 282 of file d3d8types.h.

◆ D3DVSD_SKIPCOUNTMASK

#define D3DVSD_SKIPCOUNTMASK   (0xF << D3DVSD_SKIPCOUNTSHIFT)

Definition at line 260 of file d3d8types.h.

◆ D3DVSD_SKIPCOUNTSHIFT

#define D3DVSD_SKIPCOUNTSHIFT   16

Definition at line 246 of file d3d8types.h.

◆ D3DVSD_STREAM

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

Definition at line 285 of file d3d8types.h.

◆ D3DVSD_STREAM_TESS

Definition at line 288 of file d3d8types.h.

◆ D3DVSD_STREAMNUMBERMASK

#define D3DVSD_STREAMNUMBERMASK   (0xF << D3DVSD_STREAMNUMBERSHIFT)

Definition at line 256 of file d3d8types.h.

◆ D3DVSD_STREAMNUMBERSHIFT

#define D3DVSD_STREAMNUMBERSHIFT   0

Definition at line 242 of file d3d8types.h.

◆ D3DVSD_STREAMTESSMASK

#define D3DVSD_STREAMTESSMASK   (0x1 << D3DVSD_STREAMTESSSHIFT)

Definition at line 265 of file d3d8types.h.

◆ D3DVSD_STREAMTESSSHIFT

#define D3DVSD_STREAMTESSSHIFT   28

Definition at line 251 of file d3d8types.h.

◆ D3DVSD_TESSNORMAL

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

Definition at line 291 of file d3d8types.h.

◆ D3DVSD_TESSUV

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

Definition at line 294 of file d3d8types.h.

◆ D3DVSD_TOKENTYPEMASK

#define D3DVSD_TOKENTYPEMASK   (0x7u << D3DVSD_TOKENTYPESHIFT)

Definition at line 266 of file d3d8types.h.

◆ D3DVSD_TOKENTYPESHIFT

#define D3DVSD_TOKENTYPESHIFT   29

Definition at line 252 of file d3d8types.h.

◆ D3DVSD_VERTEXREGINMASK

#define D3DVSD_VERTEXREGINMASK   (0xF << D3DVSD_VERTEXREGINSHIFT)

Definition at line 262 of file d3d8types.h.

◆ D3DVSD_VERTEXREGINSHIFT

#define D3DVSD_VERTEXREGINSHIFT   20

Definition at line 247 of file d3d8types.h.

◆ D3DVSD_VERTEXREGMASK

#define D3DVSD_VERTEXREGMASK   (0x1F << D3DVSD_VERTEXREGSHIFT)

Definition at line 257 of file d3d8types.h.

◆ D3DVSD_VERTEXREGSHIFT

#define D3DVSD_VERTEXREGSHIFT   0

Definition at line 243 of file d3d8types.h.

◆ D3DWRAP_U

#define D3DWRAP_U   1

Definition at line 101 of file d3d8types.h.

◆ D3DWRAP_V

#define D3DWRAP_V   2

Definition at line 102 of file d3d8types.h.

◆ D3DWRAP_W

#define D3DWRAP_W   4

Definition at line 103 of file d3d8types.h.

◆ D3DWRAPCOORD_0

#define D3DWRAPCOORD_0   1

Definition at line 104 of file d3d8types.h.

◆ D3DWRAPCOORD_1

#define D3DWRAPCOORD_1   2

Definition at line 105 of file d3d8types.h.

◆ D3DWRAPCOORD_2

#define D3DWRAPCOORD_2   4

Definition at line 106 of file d3d8types.h.

◆ D3DWRAPCOORD_3

#define D3DWRAPCOORD_3   8

Definition at line 107 of file d3d8types.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: msvc.h:34
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned char BYTE
Definition: mem.h:68

Definition at line 155 of file d3d8types.h.

◆ MAX_DEVICE_IDENTIFIER_STRING

#define MAX_DEVICE_IDENTIFIER_STRING   512

Definition at line 109 of file d3d8types.h.

Typedef Documentation

◆ D3DADAPTER_IDENTIFIER8

◆ D3DBACKBUFFER_TYPE

◆ D3DBASISTYPE

◆ D3DBLEND

◆ D3DBLENDOP

◆ D3DBOX

◆ D3DCLIPSTATUS8

◆ D3DCMPFUNC

◆ D3DCOLOR

typedef DWORD D3DCOLOR

Definition at line 990 of file d3d8types.h.

◆ D3DCOLORVALUE

◆ D3DCUBEMAP_FACES

◆ D3DCULL

◆ D3DDEBUGMONITORTOKENS

◆ D3DDEVICE_CREATION_PARAMETERS

◆ D3DDEVTYPE

◆ D3DDISPLAYMODE

◆ D3DFILLMODE

◆ D3DFOGMODE

◆ D3DFORMAT

◆ D3DGAMMARAMP

◆ D3DINDEXBUFFER_DESC

◆ D3DLIGHT8

◆ D3DLIGHTTYPE

◆ D3DLINEPATTERN

◆ D3DLOCKED_BOX

◆ D3DLOCKED_RECT

◆ D3DMATERIAL8

◆ D3DMATERIALCOLORSOURCE

◆ D3DMATRIX

◆ D3DMULTISAMPLE_TYPE

◆ D3DORDERTYPE

◆ D3DPATCHEDGESTYLE

◆ D3DPOOL

◆ D3DPRESENT_PARAMETERS

◆ D3DPRIMITIVETYPE

◆ D3DRANGE

◆ D3DRASTER_STATUS

◆ D3DRECT

◆ D3DRECTPATCH_INFO

◆ D3DRENDERSTATETYPE

◆ 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

◆ D3DVERTEXBLENDFLAGS

◆ D3DVERTEXBUFFER_DESC

◆ D3DVIEWPORT8

◆ D3DVOLUME_DESC

◆ D3DVS_ADDRESSMODE_TYPE

◆ D3DVS_RASTOUT_OFFSETS

◆ D3DVSD_TOKENTYPE

◆ D3DVSDE_REGISTER

input registers for vertex shaders functions Address of the vertex register. 0 - 16

◆ D3DVSDT_TYPE

bit-field declaration for VertexRegister Type

◆ D3DZBUFFERTYPE

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 492 of file d3d8types.h.

◆ _D3DBASISTYPE

Enumerator
D3DBASIS_BEZIER 
D3DBASIS_BSPLINE 
D3DBASIS_INTERPOLATE 
D3DBASIS_FORCE_DWORD 
D3DBASIS_BEZIER 
D3DBASIS_BSPLINE 
D3DBASIS_INTERPOLATE 
D3DBASIS_FORCE_DWORD 

Definition at line 500 of file d3d8types.h.

500  {
501  D3DBASIS_BEZIER = 0,
502  D3DBASIS_BSPLINE = 1,
504 
505  D3DBASIS_FORCE_DWORD = 0x7fffffff
506 } 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 508 of file d3d8types.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 526 of file d3d8types.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 536 of file d3d8types.h.

536  {
537  D3DCMP_NEVER = 1,
538  D3DCMP_LESS = 2,
539  D3DCMP_EQUAL = 3,
540  D3DCMP_LESSEQUAL = 4,
541  D3DCMP_GREATER = 5,
542  D3DCMP_NOTEQUAL = 6,
544  D3DCMP_ALWAYS = 8,
545 
546  D3DCMP_FORCE_DWORD = 0x7fffffff
547 } D3DCMPFUNC;
enum _D3DCMPFUNC D3DCMPFUNC

◆ _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 549 of file d3d8types.h.

◆ _D3DCULL

Enumerator
D3DCULL_NONE 
D3DCULL_CW 
D3DCULL_CCW 
D3DCULL_FORCE_DWORD 
D3DCULL_NONE 
D3DCULL_CW 
D3DCULL_CCW 
D3DCULL_FORCE_DWORD 

Definition at line 560 of file d3d8types.h.

560  {
561  D3DCULL_NONE = 1,
562  D3DCULL_CW = 2,
563  D3DCULL_CCW = 3,
564 
565  D3DCULL_FORCE_DWORD = 0x7fffffff
566 } D3DCULL;
enum _D3DCULL D3DCULL

◆ _D3DDEBUGMONITORTOKENS

Enumerator
D3DDMT_ENABLE 
D3DDMT_DISABLE 
D3DDMT_FORCE_DWORD 
D3DDMT_ENABLE 
D3DDMT_DISABLE 
D3DDMT_FORCE_DWORD 

Definition at line 568 of file d3d8types.h.

568  {
569  D3DDMT_ENABLE = 0,
570  D3DDMT_DISABLE = 1,
571 
572  D3DDMT_FORCE_DWORD = 0x7fffffff
enum _D3DDEBUGMONITORTOKENS D3DDEBUGMONITORTOKENS

◆ _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 575 of file d3d8types.h.

575  {
576  D3DDEVTYPE_HAL = 1,
577  D3DDEVTYPE_REF = 2,
578  D3DDEVTYPE_SW = 3,
579 
580  D3DDEVTYPE_FORCE_DWORD = 0xffffffff
581 } 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 583 of file d3d8types.h.

583  {
584  D3DFILL_POINT = 1,
585  D3DFILL_WIREFRAME = 2,
586  D3DFILL_SOLID = 3,
587 
588  D3DFILL_FORCE_DWORD = 0x7fffffff
589 } 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 591 of file d3d8types.h.

591  {
592  D3DFOG_NONE = 0,
593  D3DFOG_EXP = 1,
594  D3DFOG_EXP2 = 2,
595  D3DFOG_LINEAR = 3,
596 
597  D3DFOG_FORCE_DWORD = 0x7fffffff
598 } 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_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 600 of file d3d8types.h.

600  {
601  D3DFMT_UNKNOWN = 0,
602 
603  D3DFMT_R8G8B8 = 20,
604  D3DFMT_A8R8G8B8 = 21,
605  D3DFMT_X8R8G8B8 = 22,
606  D3DFMT_R5G6B5 = 23,
607  D3DFMT_X1R5G5B5 = 24,
608  D3DFMT_A1R5G5B5 = 25,
609  D3DFMT_A4R4G4B4 = 26,
610  D3DFMT_R3G3B2 = 27,
611  D3DFMT_A8 = 28,
612  D3DFMT_A8R3G3B2 = 29,
613  D3DFMT_X4R4G4B4 = 30,
614  D3DFMT_A2B10G10R10 = 31,
615  D3DFMT_G16R16 = 34,
616 
617  D3DFMT_A8P8 = 40,
618  D3DFMT_P8 = 41,
619 
620  D3DFMT_L8 = 50,
621  D3DFMT_A8L8 = 51,
622  D3DFMT_A4L4 = 52,
623 
624  D3DFMT_V8U8 = 60,
625  D3DFMT_L6V5U5 = 61,
626  D3DFMT_X8L8V8U8 = 62,
627  D3DFMT_Q8W8V8U8 = 63,
628  D3DFMT_V16U16 = 64,
629  D3DFMT_W11V11U10 = 65,
630  D3DFMT_A2W10V10U10 = 67,
631 
632  D3DFMT_UYVY = MAKEFOURCC('U', 'Y', 'V', 'Y'),
633  D3DFMT_YUY2 = MAKEFOURCC('Y', 'U', 'Y', '2'),
634  D3DFMT_DXT1 = MAKEFOURCC('D', 'X', 'T', '1'),
635  D3DFMT_DXT2 = MAKEFOURCC('D', 'X', 'T', '2'),
636  D3DFMT_DXT3 = MAKEFOURCC('D', 'X', 'T', '3'),
637  D3DFMT_DXT4 = MAKEFOURCC('D', 'X', 'T', '4'),
638  D3DFMT_DXT5 = MAKEFOURCC('D', 'X', 'T', '5'),
639 
640  D3DFMT_D16_LOCKABLE = 70,
641  D3DFMT_D32 = 71,
642  D3DFMT_D15S1 = 73,
643  D3DFMT_D24S8 = 75,
644  D3DFMT_D16 = 80,
645  D3DFMT_D24X8 = 77,
646  D3DFMT_D24X4S4 = 79,
647 
648  D3DFMT_VERTEXDATA = 100,
649  D3DFMT_INDEX16 = 101,
650  D3DFMT_INDEX32 = 102,
651 
652  D3DFMT_FORCE_DWORD = 0xFFFFFFFF
653 } D3DFORMAT;
enum _D3DFORMAT D3DFORMAT
#define MAKEFOURCC(ch0, ch1, ch2, ch3)
Definition: d3d8types.h:155

◆ _D3DLIGHTTYPE

Enumerator
D3DLIGHT_POINT 
D3DLIGHT_SPOT 
D3DLIGHT_DIRECTIONAL 
D3DLIGHT_FORCE_DWORD 
D3DLIGHT_POINT 
D3DLIGHT_SPOT 
D3DLIGHT_DIRECTIONAL 
D3DLIGHT_FORCE_DWORD 

Definition at line 655 of file d3d8types.h.

655  {
656  D3DLIGHT_POINT = 1,
657  D3DLIGHT_SPOT = 2,
659 
660  D3DLIGHT_FORCE_DWORD = 0x7fffffff
661 } 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 663 of file d3d8types.h.

663  {
664  D3DMCS_MATERIAL = 0,
665  D3DMCS_COLOR1 = 1,
666  D3DMCS_COLOR2 = 2,
667 
668  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 671 of file d3d8types.h.

671  {
688 
689  D3DMULTISAMPLE_FORCE_DWORD = 0x7fffffff
enum _D3DMULTISAMPLE_TYPE D3DMULTISAMPLE_TYPE

◆ _D3DORDERTYPE

Enumerator
D3DORDER_LINEAR 
D3DORDER_QUADRATIC 
D3DORDER_CUBIC 
D3DORDER_QUINTIC 
D3DORDER_FORCE_DWORD 

Definition at line 692 of file d3d8types.h.

692  {
693  D3DORDER_LINEAR = 1,
694  D3DORDER_QUADRATIC = 2,
695  D3DORDER_CUBIC = 3,
696  D3DORDER_QUINTIC = 5,
697 
698  D3DORDER_FORCE_DWORD = 0x7fffffff
699 } D3DORDERTYPE;
enum _D3DORDERTYPE D3DORDERTYPE

◆ _D3DPATCHEDGESTYLE

Enumerator
D3DPATCHEDGE_DISCRETE 
D3DPATCHEDGE_CONTINUOUS 
D3DPATCHEDGE_FORCE_DWORD 
D3DPATCHEDGE_DISCRETE 
D3DPATCHEDGE_CONTINUOUS 
D3DPATCHEDGE_FORCE_DWORD 

Definition at line 701 of file d3d8types.h.

701  {
704 
705  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 708 of file d3d8types.h.

708  {
709  D3DPOOL_DEFAULT = 0,
710  D3DPOOL_MANAGED = 1,
711  D3DPOOL_SYSTEMMEM = 2,
712  D3DPOOL_SCRATCH = 3,
713 
714  D3DPOOL_FORCE_DWORD = 0x7fffffff
715 } 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 717 of file d3d8types.h.

717  {
718  D3DPT_POINTLIST = 1,
719  D3DPT_LINELIST = 2,
720  D3DPT_LINESTRIP = 3,
721  D3DPT_TRIANGLELIST = 4,
723  D3DPT_TRIANGLEFAN = 6,
724 
725  D3DPT_FORCE_DWORD = 0x7fffffff
enum _D3DPRIMITIVETYPE D3DPRIMITIVETYPE

◆ _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 728 of file d3d8types.h.

728  {
729  D3DRS_ZENABLE = 7,
730  D3DRS_FILLMODE = 8,
731  D3DRS_SHADEMODE = 9,
732  D3DRS_LINEPATTERN = 10,
733  D3DRS_ZWRITEENABLE = 14,
735  D3DRS_LASTPIXEL = 16,
736  D3DRS_SRCBLEND = 19,
737  D3DRS_DESTBLEND = 20,
738  D3DRS_CULLMODE = 22,
739  D3DRS_ZFUNC = 23,
740  D3DRS_ALPHAREF = 24,
741  D3DRS_ALPHAFUNC = 25,
742  D3DRS_DITHERENABLE = 26,
744  D3DRS_FOGENABLE = 28,
746  D3DRS_ZVISIBLE = 30,
747  D3DRS_FOGCOLOR = 34,
748  D3DRS_FOGTABLEMODE = 35,
749  D3DRS_FOGSTART = 36,
750  D3DRS_FOGEND = 37,
751  D3DRS_FOGDENSITY = 38,
752  D3DRS_EDGEANTIALIAS = 40,
753  D3DRS_ZBIAS = 47,
755  D3DRS_STENCILENABLE = 52,
756  D3DRS_STENCILFAIL = 53,
757  D3DRS_STENCILZFAIL = 54,
758  D3DRS_STENCILPASS = 55,
759  D3DRS_STENCILFUNC = 56,
760  D3DRS_STENCILREF = 57,
761  D3DRS_STENCILMASK = 58,
763  D3DRS_TEXTUREFACTOR = 60,
764  D3DRS_WRAP0 = 128,
765  D3DRS_WRAP1 = 129,
766  D3DRS_WRAP2 = 130,
767  D3DRS_WRAP3 = 131,
768  D3DRS_WRAP4 = 132,
769  D3DRS_WRAP5 = 133,
770  D3DRS_WRAP6 = 134,
771  D3DRS_WRAP7 = 135,
772  D3DRS_CLIPPING = 136,
773  D3DRS_LIGHTING = 137,
774  D3DRS_AMBIENT = 139,
775  D3DRS_FOGVERTEXMODE = 140,
776  D3DRS_COLORVERTEX = 141,
777  D3DRS_LOCALVIEWER = 142,
783  D3DRS_VERTEXBLEND = 151,
784  D3DRS_CLIPPLANEENABLE = 152,
786  D3DRS_POINTSIZE = 154,
787  D3DRS_POINTSIZE_MIN = 155,
790  D3DRS_POINTSCALE_A = 158,
791  D3DRS_POINTSCALE_B = 159,
792  D3DRS_POINTSCALE_C = 160,
794  D3DRS_MULTISAMPLEMASK = 162,
795  D3DRS_PATCHEDGESTYLE = 163,
796  D3DRS_PATCHSEGMENTS = 164,
798  D3DRS_POINTSIZE_MAX = 166,
801  D3DRS_TWEENFACTOR = 170,
802  D3DRS_BLENDOP = 171,
803  D3DRS_POSITIONORDER = 172,
804  D3DRS_NORMALORDER = 173,
805 
806  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 809 of file d3d8types.h.

◆ _D3DSHADEMODE

Enumerator
D3DSHADE_FLAT 
D3DSHADE_GOURAUD 
D3DSHADE_PHONG 
D3DSHADE_FORCE_DWORD 
D3DSHADE_FLAT 
D3DSHADE_GOURAUD 
D3DSHADE_PHONG 
D3DSHADE_FORCE_DWORD 

Definition at line 821 of file d3d8types.h.

821  {
822  D3DSHADE_FLAT = 1,
823  D3DSHADE_GOURAUD = 2,
824  D3DSHADE_PHONG = 3,
825 
826  D3DSHADE_FORCE_DWORD = 0x7fffffff
827 } D3DSHADEMODE;
enum _D3DSHADEMODE D3DSHADEMODE

◆ _D3DSHADER_INSTRUCTION_OPCODE_TYPE

opcodes types for PS and VS

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_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_DP2ADD 
D3DSIO_DSX 
D3DSIO_DSY 
D3DSIO_TEXLDD 
D3DSIO_SETP 
D3DSIO_TEXLDL 
D3DSIO_BREAKP 
D3DSIO_PHASE 
D3DSIO_COMMENT 
D3DSIO_END 
D3DSIO_FORCE_DWORD 

Definition at line 309 of file d3d8types.h.

309  {
310  D3DSIO_NOP = 0,
311  D3DSIO_MOV = 1,
312  D3DSIO_ADD = 2,
313  D3DSIO_SUB = 3,
314  D3DSIO_MAD = 4,
315  D3DSIO_MUL = 5,
316  D3DSIO_RCP = 6,
317  D3DSIO_RSQ = 7,
318  D3DSIO_DP3 = 8,
319  D3DSIO_DP4 = 9,
320  D3DSIO_MIN = 10,
321  D3DSIO_MAX = 11,
322  D3DSIO_SLT = 12,
323  D3DSIO_SGE = 13,
324  D3DSIO_EXP = 14,
325  D3DSIO_LOG = 15,
326  D3DSIO_LIT = 16,
327  D3DSIO_DST = 17,
328  D3DSIO_LRP = 18,
329  D3DSIO_FRC = 19,
330  D3DSIO_M4x4 = 20,
331  D3DSIO_M4x3 = 21,
332  D3DSIO_M3x4 = 22,
333  D3DSIO_M3x3 = 23,
334  D3DSIO_M3x2 = 24,
335 
336  D3DSIO_TEXCOORD = 64,
337  D3DSIO_TEXKILL = 65,
338  D3DSIO_TEX = 66,
339  D3DSIO_TEXBEM = 67,
340  D3DSIO_TEXBEML = 68,
341  D3DSIO_TEXREG2AR = 69,
342  D3DSIO_TEXREG2GB = 70,
343  D3DSIO_TEXM3x2PAD = 71,
344  D3DSIO_TEXM3x2TEX = 72,
345  D3DSIO_TEXM3x3PAD = 73,
346  D3DSIO_TEXM3x3TEX = 74,
347  D3DSIO_TEXM3x3DIFF = 75,
348  D3DSIO_TEXM3x3SPEC = 76,
349  D3DSIO_TEXM3x3VSPEC = 77,
350  D3DSIO_EXPP = 78,
351  D3DSIO_LOGP = 79,
352  D3DSIO_CND = 80,
353  D3DSIO_DEF = 81,
354  D3DSIO_TEXREG2RGB = 82,
355  D3DSIO_TEXDP3TEX = 83,
356  D3DSIO_TEXM3x2DEPTH = 84,
357  D3DSIO_TEXDP3 = 85,
358  D3DSIO_TEXM3x3 = 86,
359  D3DSIO_TEXDEPTH = 87,
360  D3DSIO_CMP = 88,
361  D3DSIO_BEM = 89,
362 
363  D3DSIO_PHASE = 0xFFFD,
364  D3DSIO_COMMENT = 0xFFFE,
365  D3DSIO_END = 0XFFFF,
366 
367  D3DSIO_FORCE_DWORD = 0X7FFFFFFF
enum _D3DSHADER_INSTRUCTION_OPCODE_TYPE D3DSHADER_INSTRUCTION_OPCODE_TYPE

◆ _D3DSHADER_PARAM_DSTMOD_TYPE

Enumerator
D3DSPDM_NONE 
D3DSPDM_SATURATE 
D3DSPDM_FORCE_DWORD 
D3DSPDM_NONE 
D3DSPDM_SATURATE 
D3DSPDM_PARTIALPRECISION 
D3DSPDM_MSAMPCENTROID 
D3DSPDM_FORCE_DWORD 

Definition at line 383 of file d3d8types.h.

383  {
386  D3DSPDM_FORCE_DWORD = 0X7FFFFFFF
#define D3DSP_DSTMOD_SHIFT
Definition: d3d8types.h:380
enum _D3DSHADER_PARAM_DSTMOD_TYPE D3DSHADER_PARAM_DSTMOD_TYPE

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

Definition at line 397 of file d3d8types.h.

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

Definition at line 459 of file d3d8types.h.

◆ _D3DSTATEBLOCKTYPE

Enumerator
D3DSBT_ALL 
D3DSBT_PIXELSTATE 
D3DSBT_VERTEXSTATE 
D3DSBT_FORCE_DWORD 
D3DSBT_ALL 
D3DSBT_PIXELSTATE 
D3DSBT_VERTEXSTATE 
D3DSBT_FORCE_DWORD 
D3DSBT_ALL 
D3DSBT_PIXELSTATE 
D3DSBT_VERTEXSTATE 
D3DSBT_FORCE_DWORD 

Definition at line 829 of file d3d8types.h.

829  {
830  D3DSBT_ALL = 1,
831  D3DSBT_PIXELSTATE = 2,
832  D3DSBT_VERTEXSTATE = 3,
833 
834  D3DSBT_FORCE_DWORD = 0xffffffff
enum _D3DSTATEBLOCKTYPE D3DSTATEBLOCKTYPE

◆ _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 
D3DSTENCILOP_KEEP 
D3DSTENCILOP_ZERO 
D3DSTENCILOP_REPLACE 
D3DSTENCILOP_INCRSAT 
D3DSTENCILOP_DECRSAT 
D3DSTENCILOP_INVERT 
D3DSTENCILOP_INCR 
D3DSTENCILOP_DECR 
D3DSTENCILOP_FORCE_DWORD 

Definition at line 837 of file d3d8types.h.

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

Definition at line 850 of file d3d8types.h.

◆ _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 
D3DTADDRESS_WRAP 
D3DTADDRESS_MIRROR 
D3DTADDRESS_CLAMP 
D3DTADDRESS_BORDER 
D3DTADDRESS_FORCE_DWORD 

Definition at line 859 of file d3d8types.h.

◆ _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_FLATCUBIC 
D3DTEXF_GAUSSIANCUBIC 
D3DTEXF_PYRAMIDALQUAD 
D3DTEXF_GAUSSIANQUAD 
D3DTEXF_FORCE_DWORD 

Definition at line 869 of file d3d8types.h.

869  {
870  D3DTEXF_NONE = 0,
871  D3DTEXF_POINT = 1,
872  D3DTEXF_LINEAR = 2,
874  D3DTEXF_FLATCUBIC = 4,
876 
877  D3DTEXF_FORCE_DWORD = 0x7fffffff
enum _D3DTEXTUREFILTERTYPE D3DTEXTUREFILTERTYPE

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

Definition at line 880 of file d3d8types.h.

880  {
881  D3DTOP_DISABLE = 1,
882  D3DTOP_SELECTARG1 = 2,
883  D3DTOP_SELECTARG2 = 3,
884  D3DTOP_MODULATE = 4,
885  D3DTOP_MODULATE2X = 5,
886  D3DTOP_MODULATE4X = 6,
887  D3DTOP_ADD = 7,
888  D3DTOP_ADDSIGNED = 8,
889  D3DTOP_ADDSIGNED2X = 9,
890  D3DTOP_SUBTRACT = 10,
891  D3DTOP_ADDSMOOTH = 11,
897  D3DTOP_PREMODULATE = 17,
902  D3DTOP_BUMPENVMAP = 22,
904  D3DTOP_DOTPRODUCT3 = 24,
905  D3DTOP_MULTIPLYADD = 25,
906  D3DTOP_LERP = 26,
907 
908  D3DTOP_FORCE_DWORD = 0x7fffffff,
909 } D3DTEXTUREOP;
enum _D3DTEXTUREOP D3DTEXTUREOP

◆ _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 
D3DTSS_COLOROP 
D3DTSS_COLORARG1 
D3DTSS_COLORARG2 
D3DTSS_ALPHAOP 
D3DTSS_ALPHAARG1 
D3DTSS_ALPHAARG2 
D3DTSS_BUMPENVMAT00 
D3DTSS_BUMPENVMAT01 
D3DTSS_BUMPENVMAT10 
D3DTSS_BUMPENVMAT11 
D3DTSS_TEXCOORDINDEX 
D3DTSS_ADDRESS 
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_FORCE_DWORD 

Definition at line 911 of file d3d8types.h.

911  {
912  D3DTSS_COLOROP = 1,
913  D3DTSS_COLORARG1 = 2,
914  D3DTSS_COLORARG2 = 3,
915  D3DTSS_ALPHAOP = 4,
916  D3DTSS_ALPHAARG1 = 5,
917  D3DTSS_ALPHAARG2 = 6,
921  D3DTSS_BUMPENVMAT11 = 10,
923  D3DTSS_ADDRESSU = 13,
924  D3DTSS_ADDRESSV = 14,
925  D3DTSS_BORDERCOLOR = 15,
926  D3DTSS_MAGFILTER = 16,
927  D3DTSS_MINFILTER = 17,
928  D3DTSS_MIPFILTER = 18,
930  D3DTSS_MAXMIPLEVEL = 20,
935  D3DTSS_ADDRESSW = 25,
936  D3DTSS_COLORARG0 = 26,
937  D3DTSS_ALPHAARG0 = 27,
938  D3DTSS_RESULTARG = 28,
939 
940  D3DTSS_FORCE_DWORD = 0x7fffffff
enum _D3DTEXTURESTAGESTATETYPE D3DTEXTURESTAGESTATETYPE

◆ _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 
D3DTTFF_DISABLE 
D3DTTFF_COUNT1 
D3DTTFF_COUNT2 
D3DTTFF_COUNT3 
D3DTTFF_COUNT4 
D3DTTFF_PROJECTED 
D3DTTFF_FORCE_DWORD 

Definition at line 943 of file d3d8types.h.

943  {
944  D3DTTFF_DISABLE = 0,
945  D3DTTFF_COUNT1 = 1,
946  D3DTTFF_COUNT2 = 2,
947  D3DTTFF_COUNT3 = 3,
948  D3DTTFF_COUNT4 = 4,
949  D3DTTFF_PROJECTED = 256,
950 
951  D3DTTFF_FORCE_DWORD = 0x7fffffff
enum _D3DTEXTURETRANSFORMFLAGS D3DTEXTURETRANSFORMFLAGS

◆ _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 
D3DTRANSFORMSTATE_WORLD 
D3DTRANSFORMSTATE_VIEW 
D3DTRANSFORMSTATE_PROJECTION 
D3DTRANSFORMSTATE_WORLD1 
D3DTRANSFORMSTATE_WORLD2 
D3DTRANSFORMSTATE_WORLD3 
D3DTRANSFORMSTATE_TEXTURE0 
D3DTRANSFORMSTATE_TEXTURE1 
D3DTRANSFORMSTATE_TEXTURE2 
D3DTRANSFORMSTATE_TEXTURE3 
D3DTRANSFORMSTATE_TEXTURE4 
D3DTRANSFORMSTATE_TEXTURE5 
D3DTRANSFORMSTATE_TEXTURE6 
D3DTRANSFORMSTATE_TEXTURE7 
D3DTRANSFORMSTATE_FORCE_DWORD 

Definition at line 954 of file d3d8types.h.

954  {
955  D3DTS_VIEW = 2,
956  D3DTS_PROJECTION = 3,
957  D3DTS_TEXTURE0 = 16,
958  D3DTS_TEXTURE1 = 17,
959  D3DTS_TEXTURE2 = 18,
960  D3DTS_TEXTURE3 = 19,
961  D3DTS_TEXTURE4 = 20,
962  D3DTS_TEXTURE5 = 21,
963  D3DTS_TEXTURE6 = 22,
964  D3DTS_TEXTURE7 = 23,
965 
966  D3DTS_FORCE_DWORD = 0x7fffffff
enum _D3DTRANSFORMSTATETYPE D3DTRANSFORMSTATETYPE

◆ _D3DVERTEXBLENDFLAGS

Enumerator
D3DVBF_DISABLE 
D3DVBF_1WEIGHTS 
D3DVBF_2WEIGHTS 
D3DVBF_3WEIGHTS 
D3DVBF_TWEENING 
D3DVBF_0WEIGHTS 
D3DVBF_DISABLE 
D3DVBF_1WEIGHTS 
D3DVBF_2WEIGHTS 
D3DVBF_3WEIGHTS 
D3DVBF_TWEENING 
D3DVBF_0WEIGHTS 
D3DVBLE