ReactOS  0.4.13-dev-242-g611e6d7
d3dtypes.h File Reference
#include <float.h>
#include <ddraw.h>
Include dependency graph for d3dtypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _D3DVECTOR
 
struct  _D3DCOLORVALUE
 
struct  _D3DRECT
 
struct  _D3DHVERTEX
 
struct  _D3DTLVERTEX
 
struct  _D3DLVERTEX
 
struct  _D3DVERTEX
 
struct  _D3DMATRIX
 
struct  _D3DVIEWPORT
 
struct  _D3DVIEWPORT2
 
struct  _D3DVIEWPORT7
 
struct  _D3DTRANSFORMDATA
 
struct  _D3DLIGHTINGELEMENT
 
struct  _D3DMATERIAL
 
struct  _D3DMATERIAL7
 
struct  _D3DLIGHT
 
struct  _D3DLIGHT7
 
struct  _D3DLIGHT2
 
struct  _D3DLIGHTDATA
 
struct  _D3DINSTRUCTION
 
struct  _D3DTEXTURELOAD
 
struct  _D3DPICKRECORD
 
struct  _D3DLINEPATTERN
 
struct  _D3DSTATE
 
struct  _D3DMATRIXLOAD
 
struct  _D3DMATRIXMULTIPLY
 
struct  _D3DPROCESSVERTICES
 
struct  _D3DTRIANGLE
 
struct  _D3DLINE
 
struct  _D3DSPAN
 
struct  _D3DPOINT
 
struct  _D3DBRANCH
 
struct  _D3DSTATUS
 
struct  _D3DCLIPSTATUS
 
struct  D3DSTATS
 
struct  _D3DEXECUTEDATA
 
struct  _D3DVERTEXBUFFERDESC
 
struct  _D3DDP_PTRSTRIDE
 
struct  _D3DDRAWPRIMITIVESTRIDEDDATA
 

Macros

#define D3DVALP(val, prec)   ((float)(val))
 
#define D3DVAL(val)   ((float)(val))
 
#define D3DDivide(a, b)   (float)((double) (a) / (double) (b))
 
#define D3DMultiply(a, b)   ((a) * (b))
 
#define CI_GETALPHA(ci)   ((ci) >> 24)
 
#define CI_GETINDEX(ci)   (((ci) >> 8) & 0xffff)
 
#define CI_GETFRACTION(ci)   ((ci) & 0xff)
 
#define CI_ROUNDINDEX(ci)   CI_GETINDEX((ci) + 0x80)
 
#define CI_MASKALPHA(ci)   ((ci) & 0xffffff)
 
#define CI_MAKE(a, i, f)   (((a) << 24) | ((i) << 8) | (f))
 
#define RGBA_GETALPHA(rgb)   ((rgb) >> 24)
 
#define RGBA_GETRED(rgb)   (((rgb) >> 16) & 0xff)
 
#define RGBA_GETGREEN(rgb)   (((rgb) >> 8) & 0xff)
 
#define RGBA_GETBLUE(rgb)   ((rgb) & 0xff)
 
#define RGBA_MAKE(r, g, b, a)   ((D3DCOLOR) (((a) << 24) | ((r) << 16) | ((g) << 8) | (b)))
 
#define D3DRGB(r, g, b)   (0xff000000 | ( ((LONG)((r) * 255)) << 16) | (((LONG)((g) * 255)) << 8) | (LONG)((b) * 255))
 
#define D3DRGBA(r, g, b, a)
 
#define RGB_GETRED(rgb)   (((rgb) >> 16) & 0xff)
 
#define RGB_GETGREEN(rgb)   (((rgb) >> 8) & 0xff)
 
#define RGB_GETBLUE(rgb)   ((rgb) & 0xff)
 
#define RGBA_SETALPHA(rgba, x)   (((x) << 24) | ((rgba) & 0x00ffffff))
 
#define RGB_MAKE(r, g, b)   ((D3DCOLOR) (((r) << 16) | ((g) << 8) | (b)))
 
#define RGBA_TORGB(rgba)   ((D3DCOLOR) ((rgba) & 0xffffff))
 
#define RGB_TORGBA(rgb)   ((D3DCOLOR) ((rgb) | 0xff000000))
 
#define D3DENUMRET_CANCEL   DDENUMRET_CANCEL
 
#define D3DENUMRET_OK   DDENUMRET_OK
 
#define D3DCOLOR_DEFINED
 
#define D3DVECTOR_DEFINED
 
#define DX_SHARED_DEFINES
 
#define D3DMAXUSERCLIPPLANES   32
 
#define D3DCLIPPLANE0   (1 << 0)
 
#define D3DCLIPPLANE1   (1 << 1)
 
#define D3DCLIPPLANE2   (1 << 2)
 
#define D3DCLIPPLANE3   (1 << 3)
 
#define D3DCLIPPLANE4   (1 << 4)
 
#define D3DCLIPPLANE5   (1 << 5)
 
#define D3DCLIP_LEFT   0x00000001
 
#define D3DCLIP_RIGHT   0x00000002
 
#define D3DCLIP_TOP   0x00000004
 
#define D3DCLIP_BOTTOM   0x00000008
 
#define D3DCLIP_FRONT   0x00000010
 
#define D3DCLIP_BACK   0x00000020
 
#define D3DCLIP_GEN0   0x00000040
 
#define D3DCLIP_GEN1   0x00000080
 
#define D3DCLIP_GEN2   0x00000100
 
#define D3DCLIP_GEN3   0x00000200
 
#define D3DCLIP_GEN4   0x00000400
 
#define D3DCLIP_GEN5   0x00000800
 
#define D3DSTATUS_CLIPUNIONLEFT   D3DCLIP_LEFT
 
#define D3DSTATUS_CLIPUNIONRIGHT   D3DCLIP_RIGHT
 
#define D3DSTATUS_CLIPUNIONTOP   D3DCLIP_TOP
 
#define D3DSTATUS_CLIPUNIONBOTTOM   D3DCLIP_BOTTOM
 
#define D3DSTATUS_CLIPUNIONFRONT   D3DCLIP_FRONT
 
#define D3DSTATUS_CLIPUNIONBACK   D3DCLIP_BACK
 
#define D3DSTATUS_CLIPUNIONGEN0   D3DCLIP_GEN0
 
#define D3DSTATUS_CLIPUNIONGEN1   D3DCLIP_GEN1
 
#define D3DSTATUS_CLIPUNIONGEN2   D3DCLIP_GEN2
 
#define D3DSTATUS_CLIPUNIONGEN3   D3DCLIP_GEN3
 
#define D3DSTATUS_CLIPUNIONGEN4   D3DCLIP_GEN4
 
#define D3DSTATUS_CLIPUNIONGEN5   D3DCLIP_GEN5
 
#define D3DSTATUS_CLIPINTERSECTIONLEFT   0x00001000
 
#define D3DSTATUS_CLIPINTERSECTIONRIGHT   0x00002000
 
#define D3DSTATUS_CLIPINTERSECTIONTOP   0x00004000
 
#define D3DSTATUS_CLIPINTERSECTIONBOTTOM   0x00008000
 
#define D3DSTATUS_CLIPINTERSECTIONFRONT   0x00010000
 
#define D3DSTATUS_CLIPINTERSECTIONBACK   0x00020000
 
#define D3DSTATUS_CLIPINTERSECTIONGEN0   0x00040000
 
#define D3DSTATUS_CLIPINTERSECTIONGEN1   0x00080000
 
#define D3DSTATUS_CLIPINTERSECTIONGEN2   0x00100000
 
#define D3DSTATUS_CLIPINTERSECTIONGEN3   0x00200000
 
#define D3DSTATUS_CLIPINTERSECTIONGEN4   0x00400000
 
#define D3DSTATUS_CLIPINTERSECTIONGEN5   0x00800000
 
#define D3DSTATUS_ZNOTVISIBLE   0x01000000
 
#define D3DSTATUS_CLIPUNIONALL
 
#define D3DSTATUS_CLIPINTERSECTIONALL
 
#define D3DSTATUS_DEFAULT
 
#define D3DTRANSFORM_CLIPPED   0x00000001
 
#define D3DTRANSFORM_UNCLIPPED   0x00000002
 
#define D3DLIGHT_ACTIVE   0x00000001
 
#define D3DLIGHT_NO_SPECULAR   0x00000002
 
#define D3DLIGHT_ALL   (D3DLIGHT_ACTIVE | D3DLIGHT_NO_SPECULAR) /* 0x3 */
 
#define D3DLIGHT_RANGE_MAX   ((float)sqrt(FLT_MAX))
 
#define D3DCOLOR_MONO   1
 
#define D3DCOLOR_RGB   2
 
#define D3DCLEAR_TARGET   0x00000001
 
#define D3DCLEAR_ZBUFFER   0x00000002
 
#define D3DCLEAR_STENCIL   0x00000004
 
#define D3DSTATE_OVERRIDE_BIAS   256
 
#define D3DSTATE_OVERRIDE(type)   (D3DRENDERSTATETYPE)(((DWORD) (type) + D3DSTATE_OVERRIDE_BIAS))
 
#define D3DRENDERSTATE_BLENDENABLE   D3DRENDERSTATE_ALPHABLENDENABLE
 
#define D3DRENDERSTATE_WRAPBIAS   128UL
 
#define D3DWRAP_U   0x00000001L
 
#define D3DWRAP_V   0x00000002L
 
#define D3DWRAPCOORD_0   0x00000001L
 
#define D3DWRAPCOORD_1   0x00000002L
 
#define D3DWRAPCOORD_2   0x00000004L
 
#define D3DWRAPCOORD_3   0x00000008L
 
#define D3DRENDERSTATE_STIPPLEPATTERN(y)   (D3DRENDERSTATE_STIPPLEPATTERN00 + (y))
 
#define D3DPROCESSVERTICES_TRANSFORMLIGHT   0x00000000L
 
#define D3DPROCESSVERTICES_TRANSFORM   0x00000001L
 
#define D3DPROCESSVERTICES_COPY   0x00000002L
 
#define D3DPROCESSVERTICES_OPMASK   0x00000007L
 
#define D3DPROCESSVERTICES_UPDATEEXTENTS   0x00000008L
 
#define D3DPROCESSVERTICES_NOCOLOR   0x00000010L
 
#define D3DTSS_TCI_PASSTHRU   0x00000000
 
#define D3DTSS_TCI_CAMERASPACENORMAL   0x00010000
 
#define D3DTSS_TCI_CAMERASPACEPOSITION   0x00020000
 
#define D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR   0x00030000
 
#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 D3DTRIFLAG_START   0x00000000L
 
#define D3DTRIFLAG_STARTFLAT(len)   (len)
 
#define D3DTRIFLAG_ODD   0x0000001eL
 
#define D3DTRIFLAG_EVEN   0x0000001fL
 
#define D3DTRIFLAG_EDGEENABLE1   0x00000100L
 
#define D3DTRIFLAG_EDGEENABLE2   0x00000200L
 
#define D3DTRIFLAG_EDGEENABLE3   0x00000400L
 
#define D3DTRIFLAG_EDGEENABLETRIANGLE   (D3DTRIFLAG_EDGEENABLE1 | D3DTRIFLAG_EDGEENABLE2 | D3DTRIFLAG_EDGEENABLE3)
 
#define D3DSETSTATUS_STATUS   0x00000001L
 
#define D3DSETSTATUS_EXTENTS   0x00000002L
 
#define D3DSETSTATUS_ALL   (D3DSETSTATUS_STATUS | D3DSETSTATUS_EXTENTS)
 
#define D3DCLIPSTATUS_STATUS   0x00000001L
 
#define D3DCLIPSTATUS_EXTENTS2   0x00000002L
 
#define D3DCLIPSTATUS_EXTENTS3   0x00000004L
 
#define D3DEXECUTE_CLIPPED   0x00000001l
 
#define D3DEXECUTE_UNCLIPPED   0x00000002l
 
#define D3DPAL_FREE   0x00
 
#define D3DPAL_READONLY   0x40
 
#define D3DPAL_RESERVED   0x80
 
#define D3DVBCAPS_SYSTEMMEMORY   0x00000800l
 
#define D3DVBCAPS_WRITEONLY   0x00010000l
 
#define D3DVBCAPS_OPTIMIZED   0x80000000l
 
#define D3DVBCAPS_DONOTCLIP   0x00000001l
 
#define D3DVOP_LIGHT   (1 << 10)
 
#define D3DVOP_TRANSFORM   (1 << 0)
 
#define D3DVOP_CLIP   (1 << 2)
 
#define D3DVOP_EXTENTS   (1 << 3)
 
#define D3DMAXNUMVERTICES   ((1<<16) - 1)
 
#define D3DMAXNUMPRIMITIVES   ((1<<16) - 1)
 
#define D3DPV_DONOTCOPYDATA   (1 << 0)
 
#define D3DFVF_RESERVED0   0x001
 
#define D3DFVF_POSITION_MASK   0x00E
 
#define D3DFVF_XYZ   0x002
 
#define D3DFVF_XYZRHW   0x004
 
#define D3DFVF_XYZB1   0x006
 
#define D3DFVF_XYZB2   0x008
 
#define D3DFVF_XYZB3   0x00a
 
#define D3DFVF_XYZB4   0x00c
 
#define D3DFVF_XYZB5   0x00e
 
#define D3DFVF_NORMAL   0x010
 
#define D3DFVF_RESERVED1   0x020
 
#define D3DFVF_DIFFUSE   0x040
 
#define D3DFVF_SPECULAR   0x080
 
#define D3DFVF_TEXCOUNT_MASK   0xf00
 
#define D3DFVF_TEXCOUNT_SHIFT   8
 
#define D3DFVF_TEX0   0x000
 
#define D3DFVF_TEX1   0x100
 
#define D3DFVF_TEX2   0x200
 
#define D3DFVF_TEX3   0x300
 
#define D3DFVF_TEX4   0x400
 
#define D3DFVF_TEX5   0x500
 
#define D3DFVF_TEX6   0x600
 
#define D3DFVF_TEX7   0x700
 
#define D3DFVF_TEX8   0x800
 
#define D3DFVF_RESERVED2   0xf000
 
#define D3DFVF_VERTEX   ( D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX1 )
 
#define D3DFVF_LVERTEX
 
#define D3DFVF_TLVERTEX
 
#define D3DDP_MAXTEXCOORD   8
 
#define D3DVIS_INSIDE_FRUSTUM   0
 
#define D3DVIS_INTERSECT_FRUSTUM   1
 
#define D3DVIS_OUTSIDE_FRUSTUM   2
 
#define D3DVIS_INSIDE_LEFT   0
 
#define D3DVIS_INTERSECT_LEFT   (1 << 2)
 
#define D3DVIS_OUTSIDE_LEFT   (2 << 2)
 
#define D3DVIS_INSIDE_RIGHT   0
 
#define D3DVIS_INTERSECT_RIGHT   (1 << 4)
 
#define D3DVIS_OUTSIDE_RIGHT   (2 << 4)
 
#define D3DVIS_INSIDE_TOP   0
 
#define D3DVIS_INTERSECT_TOP   (1 << 6)
 
#define D3DVIS_OUTSIDE_TOP   (2 << 6)
 
#define D3DVIS_INSIDE_BOTTOM   0
 
#define D3DVIS_INTERSECT_BOTTOM   (1 << 8)
 
#define D3DVIS_OUTSIDE_BOTTOM   (2 << 8)
 
#define D3DVIS_INSIDE_NEAR   0
 
#define D3DVIS_INTERSECT_NEAR   (1 << 10)
 
#define D3DVIS_OUTSIDE_NEAR   (2 << 10)
 
#define D3DVIS_INSIDE_FAR   0
 
#define D3DVIS_INTERSECT_FAR   (1 << 12)
 
#define D3DVIS_OUTSIDE_FAR   (2 << 12)
 
#define D3DVIS_MASK_FRUSTUM   (3 << 0)
 
#define D3DVIS_MASK_LEFT   (3 << 2)
 
#define D3DVIS_MASK_RIGHT   (3 << 4)
 
#define D3DVIS_MASK_TOP   (3 << 6)
 
#define D3DVIS_MASK_BOTTOM   (3 << 8)
 
#define D3DVIS_MASK_NEAR   (3 << 10)
 
#define D3DVIS_MASK_FAR   (3 << 12)
 
#define D3DDEVINFOID_TEXTUREMANAGER   1
 
#define D3DDEVINFOID_D3DTEXTUREMANAGER   2
 
#define D3DDEVINFOID_TEXTURING   3
 
#define D3DFVF_TEXTUREFORMAT2   0
 
#define D3DFVF_TEXTUREFORMAT1   3
 
#define D3DFVF_TEXTUREFORMAT3   1
 
#define D3DFVF_TEXTUREFORMAT4   2
 
#define D3DFVF_TEXCOORDSIZE3(CoordIndex)   (D3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16))
 
#define D3DFVF_TEXCOORDSIZE2(CoordIndex)   (D3DFVF_TEXTUREFORMAT2)
 
#define D3DFVF_TEXCOORDSIZE4(CoordIndex)   (D3DFVF_TEXTUREFORMAT4 << (CoordIndex*2 + 16))
 
#define D3DFVF_TEXCOORDSIZE1(CoordIndex)   (D3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16))
 

Typedefs

typedef LONG D3DFIXED
 
typedef HRESULT(CALLBACKLPD3DVALIDATECALLBACK) (void *ctx, DWORD offset)
 
typedef HRESULT(CALLBACKLPD3DENUMTEXTUREFORMATSCALLBACK) (DDSURFACEDESC *surface_desc, void *ctx)
 
typedef HRESULT(CALLBACKLPD3DENUMPIXELFORMATSCALLBACK) (DDPIXELFORMAT *format, void *ctx)
 
typedef float D3DVALUE
 
typedef float * LPD3DVALUE
 
typedef DWORD D3DCOLOR
 
typedef DWORDLPD3DCOLOR
 
typedef struct _D3DVECTOR D3DVECTOR
 
typedef struct _D3DVECTORLPD3DVECTOR
 
typedef DWORD D3DMATERIALHANDLE
 
typedef DWORDLPD3DMATERIALHANDLE
 
typedef DWORD D3DTEXTUREHANDLE
 
typedef DWORDLPD3DTEXTUREHANDLE
 
typedef DWORD D3DMATRIXHANDLE
 
typedef DWORDLPD3DMATRIXHANDLE
 
typedef struct _D3DCOLORVALUE D3DCOLORVALUE
 
typedef struct _D3DCOLORVALUELPD3DCOLORVALUE
 
typedef struct _D3DRECT D3DRECT
 
typedef struct _D3DRECTLPD3DRECT
 
typedef struct _D3DHVERTEX D3DHVERTEX
 
typedef struct _D3DHVERTEXLPD3DHVERTEX
 
typedef struct _D3DTLVERTEX D3DTLVERTEX
 
typedef struct _D3DTLVERTEXLPD3DTLVERTEX
 
typedef struct _D3DLVERTEX D3DLVERTEX
 
typedef struct _D3DLVERTEXLPD3DLVERTEX
 
typedef struct _D3DVERTEX D3DVERTEX
 
typedef struct _D3DVERTEXLPD3DVERTEX
 
typedef struct _D3DMATRIX D3DMATRIX
 
typedef struct _D3DMATRIXLPD3DMATRIX
 
typedef struct _D3DVIEWPORT D3DVIEWPORT
 
typedef struct _D3DVIEWPORTLPD3DVIEWPORT
 
typedef struct _D3DVIEWPORT2 D3DVIEWPORT2
 
typedef struct _D3DVIEWPORT2LPD3DVIEWPORT2
 
typedef struct _D3DVIEWPORT7 D3DVIEWPORT7
 
typedef struct _D3DVIEWPORT7LPD3DVIEWPORT7
 
typedef struct _D3DTRANSFORMDATA D3DTRANSFORMDATA
 
typedef struct _D3DTRANSFORMDATALPD3DTRANSFORMDATA
 
typedef struct _D3DLIGHTINGELEMENT D3DLIGHTINGELEMENT
 
typedef struct _D3DLIGHTINGELEMENTLPD3DLIGHTINGELEMENT
 
typedef struct _D3DMATERIAL D3DMATERIAL
 
typedef struct _D3DMATERIALLPD3DMATERIAL
 
typedef struct _D3DMATERIAL7 D3DMATERIAL7
 
typedef struct _D3DMATERIAL7LPD3DMATERIAL7
 
typedef struct _D3DLIGHT D3DLIGHT
 
typedef struct _D3DLIGHTLPD3DLIGHT
 
typedef struct _D3DLIGHT7 D3DLIGHT7
 
typedef struct _D3DLIGHT7LPD3DLIGHT7
 
typedef struct _D3DLIGHT2 D3DLIGHT2
 
typedef struct _D3DLIGHT2LPD3DLIGHT2
 
typedef struct _D3DLIGHTDATA D3DLIGHTDATA
 
typedef struct _D3DLIGHTDATALPD3DLIGHTDATA
 
typedef DWORD D3DCOLORMODEL
 
typedef enum _D3DOPCODE D3DOPCODE
 
typedef struct _D3DINSTRUCTION D3DINSTRUCTION
 
typedef struct _D3DINSTRUCTIONLPD3DINSTRUCTION
 
typedef struct _D3DTEXTURELOAD D3DTEXTURELOAD
 
typedef struct _D3DTEXTURELOADLPD3DTEXTURELOAD
 
typedef struct _D3DPICKRECORD D3DPICKRECORD
 
typedef struct _D3DPICKRECORDLPD3DPICKRECORD
 
typedef struct _D3DLINEPATTERN D3DLINEPATTERN
 
typedef enum _D3DTEXTUREADDRESS D3DTEXTUREADDRESS
 
typedef enum _D3DSTENCILOP D3DSTENCILOP
 
typedef enum _D3DFOGMODE D3DFOGMODE
 
typedef enum _D3DZBUFFERTYPE D3DZBUFFERTYPE
 
typedef enum _D3DANTIALIASMODE D3DANTIALIASMODE
 
typedef enum _D3DTRANSFORMSTATETYPE D3DTRANSFORMSTATETYPE
 
typedef enum _D3DMATERIALCOLORSOURCE D3DMATERIALCOLORSOURCE
 
typedef struct _D3DSTATE D3DSTATE
 
typedef struct _D3DSTATELPD3DSTATE
 
typedef struct _D3DMATRIXLOAD D3DMATRIXLOAD
 
typedef struct _D3DMATRIXLOADLPD3DMATRIXLOAD
 
typedef struct _D3DMATRIXMULTIPLY D3DMATRIXMULTIPLY
 
typedef struct _D3DMATRIXMULTIPLYLPD3DMATRIXMULTIPLY
 
typedef struct _D3DPROCESSVERTICES D3DPROCESSVERTICES
 
typedef struct _D3DPROCESSVERTICESLPD3DPROCESSVERTICES
 
typedef enum _D3DTEXTURESTAGESTATETYPE D3DTEXTURESTAGESTATETYPE
 
typedef enum _D3DTEXTUREOP D3DTEXTUREOP
 
typedef enum _D3DTEXTUREMAGFILTER D3DTEXTUREMAGFILTER
 
typedef enum _D3DTEXTUREMINFILTER D3DTEXTUREMINFILTER
 
typedef enum _D3DTEXTUREMIPFILTER D3DTEXTUREMIPFILTER
 
typedef struct _D3DTRIANGLE D3DTRIANGLE
 
typedef struct _D3DTRIANGLELPD3DTRIANGLE
 
typedef struct _D3DLINE D3DLINE
 
typedef struct _D3DLINELPD3DLINE
 
typedef struct _D3DSPAN D3DSPAN
 
typedef struct _D3DSPANLPD3DSPAN
 
typedef struct _D3DPOINT D3DPOINT
 
typedef struct _D3DPOINTLPD3DPOINT
 
typedef struct _D3DBRANCH D3DBRANCH
 
typedef struct _D3DBRANCHLPD3DBRANCH
 
typedef struct _D3DSTATUS D3DSTATUS
 
typedef struct _D3DSTATUSLPD3DSTATUS
 
typedef struct _D3DCLIPSTATUS D3DCLIPSTATUS
 
typedef struct _D3DCLIPSTATUSLPD3DCLIPSTATUS
 
typedef struct D3DSTATSLPD3DSTATS
 
typedef struct _D3DEXECUTEDATA D3DEXECUTEDATA
 
typedef struct _D3DEXECUTEDATALPD3DEXECUTEDATA
 
typedef struct _D3DVERTEXBUFFERDESC D3DVERTEXBUFFERDESC
 
typedef struct _D3DVERTEXBUFFERDESCLPD3DVERTEXBUFFERDESC
 
typedef struct _D3DDP_PTRSTRIDE D3DDP_PTRSTRIDE
 
typedef struct _D3DDRAWPRIMITIVESTRIDEDDATA D3DDRAWPRIMITIVESTRIDEDDATA
 
typedef struct _D3DDRAWPRIMITIVESTRIDEDDATALPD3DDRAWPRIMITIVESTRIDEDDATA
 
typedef enum _D3DSTATEBLOCKTYPE D3DSTATEBLOCKTYPE
 
typedef enum _D3DVERTEXBLENDFLAGS D3DVERTEXBLENDFLAGS
 
typedef enum _D3DTEXTURETRANSFORMFLAGS D3DTEXTURETRANSFORMFLAGS
 

Enumerations

enum  D3DLIGHTTYPE {
  D3DLIGHT_POINT = 1, D3DLIGHT_SPOT = 2, D3DLIGHT_DIRECTIONAL = 3, D3DLIGHT_PARALLELPOINT = 4,
  D3DLIGHT_GLSPOT = 5, D3DLIGHT_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DOPCODE {
  D3DOP_POINT = 1, D3DOP_LINE = 2, D3DOP_TRIANGLE = 3, D3DOP_MATRIXLOAD = 4,
  D3DOP_MATRIXMULTIPLY = 5, D3DOP_STATETRANSFORM = 6, D3DOP_STATELIGHT = 7, D3DOP_STATERENDER = 8,
  D3DOP_PROCESSVERTICES = 9, D3DOP_TEXTURELOAD = 10, D3DOP_EXIT = 11, D3DOP_BRANCHFORWARD = 12,
  D3DOP_SPAN = 13, D3DOP_SETSTATUS = 14, D3DOP_FORCE_DWORD = 0x7fffffff
}
 
enum  D3DSHADEMODE { D3DSHADE_FLAT = 1, D3DSHADE_GOURAUD = 2, D3DSHADE_PHONG = 3, D3DSHADE_FORCE_DWORD = 0x7fffffff }
 
enum  D3DFILLMODE { D3DFILL_POINT = 1, D3DFILL_WIREFRAME = 2, D3DFILL_SOLID = 3, D3DFILL_FORCE_DWORD = 0x7fffffff }
 
enum  D3DTEXTUREFILTER {
  D3DFILTER_NEAREST = 1, D3DFILTER_LINEAR = 2, D3DFILTER_MIPNEAREST = 3, D3DFILTER_MIPLINEAR = 4,
  D3DFILTER_LINEARMIPNEAREST = 5, D3DFILTER_LINEARMIPLINEAR = 6, D3DFILTER_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
}
 
enum  D3DTEXTUREBLEND {
  D3DTBLEND_DECAL = 1, D3DTBLEND_MODULATE = 2, D3DTBLEND_DECALALPHA = 3, D3DTBLEND_MODULATEALPHA = 4,
  D3DTBLEND_DECALMASK = 5, D3DTBLEND_MODULATEMASK = 6, D3DTBLEND_COPY = 7, D3DTBLEND_ADD = 8,
  D3DTBLEND_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DTEXTUREADDRESS {
  D3DTADDRESS_WRAP = 1, D3DTADDRESS_MIRROR = 2, D3DTADDRESS_CLAMP = 3, D3DTADDRESS_BORDER = 4,
  D3DTADDRESS_MIRRORONCE = 5, D3DTADDRESS_FORCE_DWORD = 0x7fffffff, D3DTADDRESS_WRAP = 1, D3DTADDRESS_MIRROR = 2,
  D3DTADDRESS_CLAMP = 3, D3DTADDRESS_BORDER = 4, D3DTADDRESS_MIRRORONCE = 5, D3DTADDRESS_FORCE_DWORD = 0x7fffffff,
  D3DTADDRESS_WRAP = 1, D3DTADDRESS_MIRROR = 2, D3DTADDRESS_CLAMP = 3, D3DTADDRESS_BORDER = 4,
  D3DTADDRESS_FORCE_DWORD = 0x7fffffff
}
 
enum  D3DCULL { D3DCULL_NONE = 1, D3DCULL_CW = 2, D3DCULL_CCW = 3, D3DCULL_FORCE_DWORD = 0x7fffffff }
 
enum  D3DCMPFUNC {
  D3DCMP_NEVER = 1, D3DCMP_LESS = 2, D3DCMP_EQUAL = 3, D3DCMP_LESSEQUAL = 4,
  D3DCMP_GREATER = 5, D3DCMP_NOTEQUAL = 6, D3DCMP_GREATEREQUAL = 7, D3DCMP_ALWAYS = 8,
  D3DCMP_FORCE_DWORD = 0x7fffffff
}
 
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  _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  _D3DZBUFFERTYPE {
  D3DZB_FALSE = 0, D3DZB_TRUE = 1, D3DZB_USEW = 2, D3DZB_FORCE_DWORD = 0x7fffffff,
  D3DZB_FALSE = 0, D3DZB_TRUE = 1, D3DZB_USEW = 2, D3DZB_FORCE_DWORD = 0x7fffffff,
  D3DZB_FALSE = 0, D3DZB_TRUE = 1, D3DZB_USEW = 2, D3DZB_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DANTIALIASMODE { D3DANTIALIAS_NONE = 0, D3DANTIALIAS_SORTDEPENDENT = 1, D3DANTIALIAS_SORTINDEPENDENT = 2, D3DANTIALIAS_FORCE_DWORD = 0x7fffffff }
 
enum  D3DVERTEXTYPE { D3DVT_VERTEX = 1, D3DVT_LVERTEX = 2, D3DVT_TLVERTEX = 3, D3DVT_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
}
 
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  D3DLIGHTSTATETYPE {
  D3DLIGHTSTATE_MATERIAL = 1, D3DLIGHTSTATE_AMBIENT = 2, D3DLIGHTSTATE_COLORMODEL = 3, D3DLIGHTSTATE_FOGMODE = 4,
  D3DLIGHTSTATE_FOGSTART = 5, D3DLIGHTSTATE_FOGEND = 6, D3DLIGHTSTATE_FOGDENSITY = 7, D3DLIGHTSTATE_COLORVERTEX = 8,
  D3DLIGHTSTATE_FORCE_DWORD = 0x7fffffff
}
 
enum  D3DRENDERSTATETYPE {
  D3DRENDERSTATE_TEXTUREHANDLE = 1, D3DRENDERSTATE_ANTIALIAS = 2, D3DRENDERSTATE_TEXTUREADDRESS = 3, D3DRENDERSTATE_TEXTUREPERSPECTIVE = 4,
  D3DRENDERSTATE_WRAPU = 5, D3DRENDERSTATE_WRAPV = 6, D3DRENDERSTATE_ZENABLE = 7, D3DRENDERSTATE_FILLMODE = 8,
  D3DRENDERSTATE_SHADEMODE = 9, D3DRENDERSTATE_LINEPATTERN = 10, D3DRENDERSTATE_MONOENABLE = 11, D3DRENDERSTATE_ROP2 = 12,
  D3DRENDERSTATE_PLANEMASK = 13, D3DRENDERSTATE_ZWRITEENABLE = 14, D3DRENDERSTATE_ALPHATESTENABLE = 15, D3DRENDERSTATE_LASTPIXEL = 16,
  D3DRENDERSTATE_TEXTUREMAG = 17, D3DRENDERSTATE_TEXTUREMIN = 18, D3DRENDERSTATE_SRCBLEND = 19, D3DRENDERSTATE_DESTBLEND = 20,
  D3DRENDERSTATE_TEXTUREMAPBLEND = 21, D3DRENDERSTATE_CULLMODE = 22, D3DRENDERSTATE_ZFUNC = 23, D3DRENDERSTATE_ALPHAREF = 24,
  D3DRENDERSTATE_ALPHAFUNC = 25, D3DRENDERSTATE_DITHERENABLE = 26, D3DRENDERSTATE_ALPHABLENDENABLE = 27, D3DRENDERSTATE_FOGENABLE = 28,
  D3DRENDERSTATE_SPECULARENABLE = 29, D3DRENDERSTATE_ZVISIBLE = 30, D3DRENDERSTATE_SUBPIXEL = 31, D3DRENDERSTATE_SUBPIXELX = 32,
  D3DRENDERSTATE_STIPPLEDALPHA = 33, D3DRENDERSTATE_FOGCOLOR = 34, D3DRENDERSTATE_FOGTABLEMODE = 35, D3DRENDERSTATE_FOGTABLESTART = 36,
  D3DRENDERSTATE_FOGTABLEEND = 37, D3DRENDERSTATE_FOGTABLEDENSITY = 38, D3DRENDERSTATE_FOGSTART = 36, D3DRENDERSTATE_FOGEND = 37,
  D3DRENDERSTATE_FOGDENSITY = 38, D3DRENDERSTATE_STIPPLEENABLE = 39, D3DRENDERSTATE_EDGEANTIALIAS = 40, D3DRENDERSTATE_COLORKEYENABLE = 41,
  D3DRENDERSTATE_BORDERCOLOR = 43, D3DRENDERSTATE_TEXTUREADDRESSU = 44, D3DRENDERSTATE_TEXTUREADDRESSV = 45, D3DRENDERSTATE_MIPMAPLODBIAS = 46,
  D3DRENDERSTATE_ZBIAS = 47, D3DRENDERSTATE_RANGEFOGENABLE = 48, D3DRENDERSTATE_ANISOTROPY = 49, D3DRENDERSTATE_FLUSHBATCH = 50,
  D3DRENDERSTATE_TRANSLUCENTSORTINDEPENDENT = 51, D3DRENDERSTATE_STENCILENABLE = 52, D3DRENDERSTATE_STENCILFAIL = 53, D3DRENDERSTATE_STENCILZFAIL = 54,
  D3DRENDERSTATE_STENCILPASS = 55, D3DRENDERSTATE_STENCILFUNC = 56, D3DRENDERSTATE_STENCILREF = 57, D3DRENDERSTATE_STENCILMASK = 58,
  D3DRENDERSTATE_STENCILWRITEMASK = 59, D3DRENDERSTATE_TEXTUREFACTOR = 60, D3DRENDERSTATE_STIPPLEPATTERN00 = 64, D3DRENDERSTATE_STIPPLEPATTERN01 = 65,
  D3DRENDERSTATE_STIPPLEPATTERN02 = 66, D3DRENDERSTATE_STIPPLEPATTERN03 = 67, D3DRENDERSTATE_STIPPLEPATTERN04 = 68, D3DRENDERSTATE_STIPPLEPATTERN05 = 69,
  D3DRENDERSTATE_STIPPLEPATTERN06 = 70, D3DRENDERSTATE_STIPPLEPATTERN07 = 71, D3DRENDERSTATE_STIPPLEPATTERN08 = 72, D3DRENDERSTATE_STIPPLEPATTERN09 = 73,
  D3DRENDERSTATE_STIPPLEPATTERN10 = 74, D3DRENDERSTATE_STIPPLEPATTERN11 = 75, D3DRENDERSTATE_STIPPLEPATTERN12 = 76, D3DRENDERSTATE_STIPPLEPATTERN13 = 77,
  D3DRENDERSTATE_STIPPLEPATTERN14 = 78, D3DRENDERSTATE_STIPPLEPATTERN15 = 79, D3DRENDERSTATE_STIPPLEPATTERN16 = 80, D3DRENDERSTATE_STIPPLEPATTERN17 = 81,
  D3DRENDERSTATE_STIPPLEPATTERN18 = 82, D3DRENDERSTATE_STIPPLEPATTERN19 = 83, D3DRENDERSTATE_STIPPLEPATTERN20 = 84, D3DRENDERSTATE_STIPPLEPATTERN21 = 85,
  D3DRENDERSTATE_STIPPLEPATTERN22 = 86, D3DRENDERSTATE_STIPPLEPATTERN23 = 87, D3DRENDERSTATE_STIPPLEPATTERN24 = 88, D3DRENDERSTATE_STIPPLEPATTERN25 = 89,
  D3DRENDERSTATE_STIPPLEPATTERN26 = 90, D3DRENDERSTATE_STIPPLEPATTERN27 = 91, D3DRENDERSTATE_STIPPLEPATTERN28 = 92, D3DRENDERSTATE_STIPPLEPATTERN29 = 93,
  D3DRENDERSTATE_STIPPLEPATTERN30 = 94, D3DRENDERSTATE_STIPPLEPATTERN31 = 95, D3DRENDERSTATE_WRAP0 = 128, D3DRENDERSTATE_WRAP1 = 129,
  D3DRENDERSTATE_WRAP2 = 130, D3DRENDERSTATE_WRAP3 = 131, D3DRENDERSTATE_WRAP4 = 132, D3DRENDERSTATE_WRAP5 = 133,
  D3DRENDERSTATE_WRAP6 = 134, D3DRENDERSTATE_WRAP7 = 135, D3DRENDERSTATE_CLIPPING = 136, D3DRENDERSTATE_LIGHTING = 137,
  D3DRENDERSTATE_EXTENTS = 138, D3DRENDERSTATE_AMBIENT = 139, D3DRENDERSTATE_FOGVERTEXMODE = 140, D3DRENDERSTATE_COLORVERTEX = 141,
  D3DRENDERSTATE_LOCALVIEWER = 142, D3DRENDERSTATE_NORMALIZENORMALS = 143, D3DRENDERSTATE_COLORKEYBLENDENABLE = 144, D3DRENDERSTATE_DIFFUSEMATERIALSOURCE = 145,
  D3DRENDERSTATE_SPECULARMATERIALSOURCE = 146, D3DRENDERSTATE_AMBIENTMATERIALSOURCE = 147, D3DRENDERSTATE_EMISSIVEMATERIALSOURCE = 148, D3DRENDERSTATE_VERTEXBLEND = 151,
  D3DRENDERSTATE_CLIPPLANEENABLE = 152, D3DRENDERSTATE_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  _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  _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  _D3DTEXTUREMAGFILTER {
  D3DTFG_POINT = 1, D3DTFG_LINEAR = 2, D3DTFG_FLATCUBIC = 3, D3DTFG_GAUSSIANCUBIC = 4,
  D3DTFG_ANISOTROPIC = 5, D3DTFG_FORCE_DWORD = 0x7fffffff
}
 
enum  _D3DTEXTUREMINFILTER { D3DTFN_POINT = 1, D3DTFN_LINEAR = 2, D3DTFN_ANISOTROPIC = 3, D3DTFN_FORCE_DWORD = 0x7fffffff }
 
enum  _D3DTEXTUREMIPFILTER { D3DTFP_NONE = 1, D3DTFP_POINT = 2, D3DTFP_LINEAR = 3, D3DTFP_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  _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  _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
}
 

Macro Definition Documentation

◆ CI_GETALPHA

#define CI_GETALPHA (   ci)    ((ci) >> 24)

Definition at line 50 of file d3dtypes.h.

◆ CI_GETFRACTION

#define CI_GETFRACTION (   ci)    ((ci) & 0xff)

Definition at line 52 of file d3dtypes.h.

◆ CI_GETINDEX

#define CI_GETINDEX (   ci)    (((ci) >> 8) & 0xffff)

Definition at line 51 of file d3dtypes.h.

◆ CI_MAKE

#define CI_MAKE (   a,
  i,
  f 
)    (((a) << 24) | ((i) << 8) | (f))

Definition at line 55 of file d3dtypes.h.

◆ CI_MASKALPHA

#define CI_MASKALPHA (   ci)    ((ci) & 0xffffff)

Definition at line 54 of file d3dtypes.h.

◆ CI_ROUNDINDEX

#define CI_ROUNDINDEX (   ci)    CI_GETINDEX((ci) + 0x80)

Definition at line 53 of file d3dtypes.h.

◆ D3DCLEAR_STENCIL

#define D3DCLEAR_STENCIL   0x00000004

Definition at line 640 of file d3dtypes.h.

◆ D3DCLEAR_TARGET

#define D3DCLEAR_TARGET   0x00000001

Definition at line 632 of file d3dtypes.h.

◆ D3DCLEAR_ZBUFFER

#define D3DCLEAR_ZBUFFER   0x00000002

Definition at line 636 of file d3dtypes.h.

◆ D3DCLIP_BACK

#define D3DCLIP_BACK   0x00000020

Definition at line 413 of file d3dtypes.h.

◆ D3DCLIP_BOTTOM

#define D3DCLIP_BOTTOM   0x00000008

Definition at line 411 of file d3dtypes.h.

◆ D3DCLIP_FRONT

#define D3DCLIP_FRONT   0x00000010

Definition at line 412 of file d3dtypes.h.

◆ D3DCLIP_GEN0

#define D3DCLIP_GEN0   0x00000040

Definition at line 414 of file d3dtypes.h.

◆ D3DCLIP_GEN1

#define D3DCLIP_GEN1   0x00000080

Definition at line 415 of file d3dtypes.h.

◆ D3DCLIP_GEN2

#define D3DCLIP_GEN2   0x00000100

Definition at line 416 of file d3dtypes.h.

◆ D3DCLIP_GEN3

#define D3DCLIP_GEN3   0x00000200

Definition at line 417 of file d3dtypes.h.

◆ D3DCLIP_GEN4

#define D3DCLIP_GEN4   0x00000400

Definition at line 418 of file d3dtypes.h.

◆ D3DCLIP_GEN5

#define D3DCLIP_GEN5   0x00000800

Definition at line 419 of file d3dtypes.h.

◆ D3DCLIP_LEFT

#define D3DCLIP_LEFT   0x00000001

Definition at line 408 of file d3dtypes.h.

◆ D3DCLIP_RIGHT

#define D3DCLIP_RIGHT   0x00000002

Definition at line 409 of file d3dtypes.h.

◆ D3DCLIP_TOP

#define D3DCLIP_TOP   0x00000004

Definition at line 410 of file d3dtypes.h.

◆ D3DCLIPPLANE0

#define D3DCLIPPLANE0   (1 << 0)

Definition at line 401 of file d3dtypes.h.

◆ D3DCLIPPLANE1

#define D3DCLIPPLANE1   (1 << 1)

Definition at line 402 of file d3dtypes.h.

◆ D3DCLIPPLANE2

#define D3DCLIPPLANE2   (1 << 2)

Definition at line 403 of file d3dtypes.h.

◆ D3DCLIPPLANE3

#define D3DCLIPPLANE3   (1 << 3)

Definition at line 404 of file d3dtypes.h.

◆ D3DCLIPPLANE4

#define D3DCLIPPLANE4   (1 << 4)

Definition at line 405 of file d3dtypes.h.

◆ D3DCLIPPLANE5

#define D3DCLIPPLANE5   (1 << 5)

Definition at line 406 of file d3dtypes.h.

◆ D3DCLIPSTATUS_EXTENTS2

#define D3DCLIPSTATUS_EXTENTS2   0x00000002L

Definition at line 1244 of file d3dtypes.h.

◆ D3DCLIPSTATUS_EXTENTS3

#define D3DCLIPSTATUS_EXTENTS3   0x00000004L

Definition at line 1245 of file d3dtypes.h.

◆ D3DCLIPSTATUS_STATUS

#define D3DCLIPSTATUS_STATUS   0x00000001L

Definition at line 1243 of file d3dtypes.h.

◆ D3DCOLOR_DEFINED

#define D3DCOLOR_DEFINED

Definition at line 93 of file d3dtypes.h.

◆ D3DCOLOR_MONO

#define D3DCOLOR_MONO   1

Definition at line 626 of file d3dtypes.h.

◆ D3DCOLOR_RGB

#define D3DCOLOR_RGB   2

Definition at line 627 of file d3dtypes.h.

◆ D3DDEVINFOID_D3DTEXTUREMANAGER

#define D3DDEVINFOID_D3DTEXTUREMANAGER   2

Definition at line 1384 of file d3dtypes.h.

◆ D3DDEVINFOID_TEXTUREMANAGER

#define D3DDEVINFOID_TEXTUREMANAGER   1

Definition at line 1383 of file d3dtypes.h.

◆ D3DDEVINFOID_TEXTURING

#define D3DDEVINFOID_TEXTURING   3

Definition at line 1385 of file d3dtypes.h.

◆ D3DDivide

#define D3DDivide (   a,
  b 
)    (float)((double) (a) / (double) (b))

Definition at line 43 of file d3dtypes.h.

◆ D3DDP_MAXTEXCOORD

#define D3DDP_MAXTEXCOORD   8

Definition at line 1340 of file d3dtypes.h.

◆ D3DENUMRET_CANCEL

#define D3DENUMRET_CANCEL   DDENUMRET_CANCEL

Definition at line 80 of file d3dtypes.h.

◆ D3DENUMRET_OK

#define D3DENUMRET_OK   DDENUMRET_OK

Definition at line 81 of file d3dtypes.h.

◆ D3DEXECUTE_CLIPPED

#define D3DEXECUTE_CLIPPED   0x00000001l

Definition at line 1256 of file d3dtypes.h.

◆ D3DEXECUTE_UNCLIPPED

#define D3DEXECUTE_UNCLIPPED   0x00000002l

Definition at line 1257 of file d3dtypes.h.

◆ D3DFVF_DIFFUSE

#define D3DFVF_DIFFUSE   0x040

Definition at line 1310 of file d3dtypes.h.

◆ D3DFVF_LVERTEX

#define D3DFVF_LVERTEX
Value:
D3DFVF_SPECULAR | D3DFVF_TEX1 )
#define D3DFVF_TEX1
Definition: d3dtypes.h:1315
#define D3DFVF_XYZ
Definition: d3dtypes.h:1300
#define D3DFVF_RESERVED1
Definition: d3dtypes.h:1309
#define D3DFVF_DIFFUSE
Definition: d3dtypes.h:1310

Definition at line 1329 of file d3dtypes.h.

◆ D3DFVF_NORMAL

#define D3DFVF_NORMAL   0x010

Definition at line 1308 of file d3dtypes.h.

◆ D3DFVF_POSITION_MASK

#define D3DFVF_POSITION_MASK   0x00E

Definition at line 1299 of file d3dtypes.h.

◆ D3DFVF_RESERVED0

#define D3DFVF_RESERVED0   0x001

Definition at line 1298 of file d3dtypes.h.

◆ D3DFVF_RESERVED1

#define D3DFVF_RESERVED1   0x020

Definition at line 1309 of file d3dtypes.h.

◆ D3DFVF_RESERVED2

#define D3DFVF_RESERVED2   0xf000

Definition at line 1324 of file d3dtypes.h.

◆ D3DFVF_SPECULAR

#define D3DFVF_SPECULAR   0x080

Definition at line 1311 of file d3dtypes.h.

◆ D3DFVF_TEX0

#define D3DFVF_TEX0   0x000

Definition at line 1314 of file d3dtypes.h.

◆ D3DFVF_TEX1

#define D3DFVF_TEX1   0x100

Definition at line 1315 of file d3dtypes.h.

◆ D3DFVF_TEX2

#define D3DFVF_TEX2   0x200

Definition at line 1316 of file d3dtypes.h.

◆ D3DFVF_TEX3

#define D3DFVF_TEX3   0x300

Definition at line 1317 of file d3dtypes.h.

◆ D3DFVF_TEX4

#define D3DFVF_TEX4   0x400

Definition at line 1318 of file d3dtypes.h.

◆ D3DFVF_TEX5

#define D3DFVF_TEX5   0x500

Definition at line 1319 of file d3dtypes.h.

◆ D3DFVF_TEX6

#define D3DFVF_TEX6   0x600

Definition at line 1320 of file d3dtypes.h.

◆ D3DFVF_TEX7

#define D3DFVF_TEX7   0x700

Definition at line 1321 of file d3dtypes.h.

◆ D3DFVF_TEX8

#define D3DFVF_TEX8   0x800

Definition at line 1322 of file d3dtypes.h.

◆ D3DFVF_TEXCOORDSIZE1

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

Definition at line 1421 of file d3dtypes.h.

◆ D3DFVF_TEXCOORDSIZE2

#define D3DFVF_TEXCOORDSIZE2 (   CoordIndex)    (D3DFVF_TEXTUREFORMAT2)

Definition at line 1419 of file d3dtypes.h.

◆ D3DFVF_TEXCOORDSIZE3

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

Definition at line 1418 of file d3dtypes.h.

◆ D3DFVF_TEXCOORDSIZE4

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

Definition at line 1420 of file d3dtypes.h.

◆ D3DFVF_TEXCOUNT_MASK

#define D3DFVF_TEXCOUNT_MASK   0xf00

Definition at line 1312 of file d3dtypes.h.

◆ D3DFVF_TEXCOUNT_SHIFT

#define D3DFVF_TEXCOUNT_SHIFT   8

Definition at line 1313 of file d3dtypes.h.

◆ D3DFVF_TEXTUREFORMAT1

#define D3DFVF_TEXTUREFORMAT1   3

Definition at line 1414 of file d3dtypes.h.

◆ D3DFVF_TEXTUREFORMAT2

#define D3DFVF_TEXTUREFORMAT2   0

Definition at line 1413 of file d3dtypes.h.

◆ D3DFVF_TEXTUREFORMAT3

#define D3DFVF_TEXTUREFORMAT3   1

Definition at line 1415 of file d3dtypes.h.

◆ D3DFVF_TEXTUREFORMAT4

#define D3DFVF_TEXTUREFORMAT4   2

Definition at line 1416 of file d3dtypes.h.

◆ D3DFVF_TLVERTEX

#define D3DFVF_TLVERTEX
Value:
D3DFVF_TEX1 )
#define D3DFVF_XYZRHW
Definition: d3dtypes.h:1301
#define D3DFVF_SPECULAR
Definition: d3dtypes.h:1311
#define D3DFVF_DIFFUSE
Definition: d3dtypes.h:1310

Definition at line 1331 of file d3dtypes.h.

◆ D3DFVF_VERTEX

#define D3DFVF_VERTEX   ( D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX1 )

Definition at line 1328 of file d3dtypes.h.

◆ D3DFVF_XYZ

#define D3DFVF_XYZ   0x002

Definition at line 1300 of file d3dtypes.h.

◆ D3DFVF_XYZB1

#define D3DFVF_XYZB1   0x006

Definition at line 1302 of file d3dtypes.h.

◆ D3DFVF_XYZB2

#define D3DFVF_XYZB2   0x008

Definition at line 1303 of file d3dtypes.h.

◆ D3DFVF_XYZB3

#define D3DFVF_XYZB3   0x00a

Definition at line 1304 of file d3dtypes.h.

◆ D3DFVF_XYZB4

#define D3DFVF_XYZB4   0x00c

Definition at line 1305 of file d3dtypes.h.

◆ D3DFVF_XYZB5

#define D3DFVF_XYZB5   0x00e

Definition at line 1306 of file d3dtypes.h.

◆ D3DFVF_XYZRHW

#define D3DFVF_XYZRHW   0x004

Definition at line 1301 of file d3dtypes.h.

◆ D3DLIGHT_ACTIVE

#define D3DLIGHT_ACTIVE   0x00000001

Definition at line 596 of file d3dtypes.h.

◆ D3DLIGHT_ALL

#define D3DLIGHT_ALL   (D3DLIGHT_ACTIVE | D3DLIGHT_NO_SPECULAR) /* 0x3 */

Definition at line 598 of file d3dtypes.h.

◆ D3DLIGHT_NO_SPECULAR

#define D3DLIGHT_NO_SPECULAR   0x00000002

Definition at line 597 of file d3dtypes.h.

◆ D3DLIGHT_RANGE_MAX

#define D3DLIGHT_RANGE_MAX   ((float)sqrt(FLT_MAX))

Definition at line 600 of file d3dtypes.h.

◆ D3DMAXNUMPRIMITIVES

#define D3DMAXNUMPRIMITIVES   ((1<<16) - 1)

Definition at line 1294 of file d3dtypes.h.

◆ D3DMAXNUMVERTICES

#define D3DMAXNUMVERTICES   ((1<<16) - 1)

Definition at line 1292 of file d3dtypes.h.

◆ D3DMAXUSERCLIPPLANES

#define D3DMAXUSERCLIPPLANES   32

Definition at line 399 of file d3dtypes.h.

◆ D3DMultiply

#define D3DMultiply (   a,
  b 
)    ((a) * (b))

Definition at line 44 of file d3dtypes.h.

◆ D3DPAL_FREE

#define D3DPAL_FREE   0x00

Definition at line 1269 of file d3dtypes.h.

◆ D3DPAL_READONLY

#define D3DPAL_READONLY   0x40

Definition at line 1270 of file d3dtypes.h.

◆ D3DPAL_RESERVED

#define D3DPAL_RESERVED   0x80

Definition at line 1271 of file d3dtypes.h.

◆ D3DPROCESSVERTICES_COPY

#define D3DPROCESSVERTICES_COPY   0x00000002L

Definition at line 1056 of file d3dtypes.h.

◆ D3DPROCESSVERTICES_NOCOLOR

#define D3DPROCESSVERTICES_NOCOLOR   0x00000010L

Definition at line 1060 of file d3dtypes.h.

◆ D3DPROCESSVERTICES_OPMASK

#define D3DPROCESSVERTICES_OPMASK   0x00000007L

Definition at line 1057 of file d3dtypes.h.

◆ D3DPROCESSVERTICES_TRANSFORM

#define D3DPROCESSVERTICES_TRANSFORM   0x00000001L

Definition at line 1055 of file d3dtypes.h.

◆ D3DPROCESSVERTICES_TRANSFORMLIGHT

#define D3DPROCESSVERTICES_TRANSFORMLIGHT   0x00000000L

Definition at line 1054 of file d3dtypes.h.

◆ D3DPROCESSVERTICES_UPDATEEXTENTS

#define D3DPROCESSVERTICES_UPDATEEXTENTS   0x00000008L

Definition at line 1059 of file d3dtypes.h.

◆ D3DPV_DONOTCOPYDATA

#define D3DPV_DONOTCOPYDATA   (1 << 0)

Definition at line 1296 of file d3dtypes.h.

◆ D3DRENDERSTATE_BLENDENABLE

#define D3DRENDERSTATE_BLENDENABLE   D3DRENDERSTATE_ALPHABLENDENABLE

Definition at line 1009 of file d3dtypes.h.

◆ D3DRENDERSTATE_STIPPLEPATTERN

#define D3DRENDERSTATE_STIPPLEPATTERN (   y)    (D3DRENDERSTATE_STIPPLEPATTERN00 + (y))

Definition at line 1021 of file d3dtypes.h.

◆ D3DRENDERSTATE_WRAPBIAS

#define D3DRENDERSTATE_WRAPBIAS   128UL

Definition at line 1010 of file d3dtypes.h.

◆ D3DRGB

#define D3DRGB (   r,
  g,
  b 
)    (0xff000000 | ( ((LONG)((r) * 255)) << 16) | (((LONG)((g) * 255)) << 8) | (LONG)((b) * 255))

Definition at line 63 of file d3dtypes.h.

◆ D3DRGBA

#define D3DRGBA (   r,
  g,
  b,
  a 
)
Value:
( (((LONG)((a) * 255)) << 24) | (((LONG)((r) * 255)) << 16) \
| (((LONG)((g) * 255)) << 8) | (LONG)((b) * 255) \
)
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
long LONG
Definition: pedump.c:60
#define b
Definition: ke_i.h:79
GLboolean GLboolean g
Definition: glext.h:6204
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

Definition at line 65 of file d3dtypes.h.

◆ D3DSETSTATUS_ALL

#define D3DSETSTATUS_ALL   (D3DSETSTATUS_STATUS | D3DSETSTATUS_EXTENTS)

Definition at line 1233 of file d3dtypes.h.

◆ D3DSETSTATUS_EXTENTS

#define D3DSETSTATUS_EXTENTS   0x00000002L

Definition at line 1232 of file d3dtypes.h.

◆ D3DSETSTATUS_STATUS

#define D3DSETSTATUS_STATUS   0x00000001L

Definition at line 1231 of file d3dtypes.h.

◆ D3DSTATE_OVERRIDE

#define D3DSTATE_OVERRIDE (   type)    (D3DRENDERSTATETYPE)(((DWORD) (type) + D3DSTATE_OVERRIDE_BIAS))

Definition at line 836 of file d3dtypes.h.

◆ D3DSTATE_OVERRIDE_BIAS

#define D3DSTATE_OVERRIDE_BIAS   256

Definition at line 834 of file d3dtypes.h.

◆ D3DSTATUS_CLIPINTERSECTIONALL

#define D3DSTATUS_CLIPINTERSECTIONALL
Value:
( \
D3DSTATUS_CLIPINTERSECTIONLEFT | \
D3DSTATUS_CLIPINTERSECTIONRIGHT | \
D3DSTATUS_CLIPINTERSECTIONTOP | \
D3DSTATUS_CLIPINTERSECTIONBOTTOM | \
D3DSTATUS_CLIPINTERSECTIONFRONT | \
D3DSTATUS_CLIPINTERSECTIONBACK | \
D3DSTATUS_CLIPINTERSECTIONGEN0 | \
D3DSTATUS_CLIPINTERSECTIONGEN1 | \
D3DSTATUS_CLIPINTERSECTIONGEN2 | \
D3DSTATUS_CLIPINTERSECTIONGEN3 | \
D3DSTATUS_CLIPINTERSECTIONGEN4 | \
D3DSTATUS_CLIPINTERSECTIONGEN5 \
)

Definition at line 463 of file d3dtypes.h.

◆ D3DSTATUS_CLIPINTERSECTIONBACK

#define D3DSTATUS_CLIPINTERSECTIONBACK   0x00020000

Definition at line 439 of file d3dtypes.h.

◆ D3DSTATUS_CLIPINTERSECTIONBOTTOM

#define D3DSTATUS_CLIPINTERSECTIONBOTTOM   0x00008000

Definition at line 437 of file d3dtypes.h.

◆ D3DSTATUS_CLIPINTERSECTIONFRONT

#define D3DSTATUS_CLIPINTERSECTIONFRONT   0x00010000

Definition at line 438 of file d3dtypes.h.

◆ D3DSTATUS_CLIPINTERSECTIONGEN0

#define D3DSTATUS_CLIPINTERSECTIONGEN0   0x00040000

Definition at line 440 of file d3dtypes.h.

◆ D3DSTATUS_CLIPINTERSECTIONGEN1

#define D3DSTATUS_CLIPINTERSECTIONGEN1   0x00080000

Definition at line 441 of file d3dtypes.h.

◆ D3DSTATUS_CLIPINTERSECTIONGEN2

#define D3DSTATUS_CLIPINTERSECTIONGEN2   0x00100000

Definition at line 442 of file d3dtypes.h.

◆ D3DSTATUS_CLIPINTERSECTIONGEN3

#define D3DSTATUS_CLIPINTERSECTIONGEN3   0x00200000

Definition at line 443 of file d3dtypes.h.

◆ D3DSTATUS_CLIPINTERSECTIONGEN4

#define D3DSTATUS_CLIPINTERSECTIONGEN4   0x00400000

Definition at line 444 of file d3dtypes.h.

◆ D3DSTATUS_CLIPINTERSECTIONGEN5

#define D3DSTATUS_CLIPINTERSECTIONGEN5   0x00800000

Definition at line 445 of file d3dtypes.h.

◆ D3DSTATUS_CLIPINTERSECTIONLEFT

#define D3DSTATUS_CLIPINTERSECTIONLEFT   0x00001000

Definition at line 434 of file d3dtypes.h.

◆ D3DSTATUS_CLIPINTERSECTIONRIGHT

#define D3DSTATUS_CLIPINTERSECTIONRIGHT   0x00002000

Definition at line 435 of file d3dtypes.h.

◆ D3DSTATUS_CLIPINTERSECTIONTOP

#define D3DSTATUS_CLIPINTERSECTIONTOP   0x00004000

Definition at line 436 of file d3dtypes.h.

◆ D3DSTATUS_CLIPUNIONALL

#define D3DSTATUS_CLIPUNIONALL
Value:
( \
D3DSTATUS_CLIPUNIONLEFT | \
D3DSTATUS_CLIPUNIONRIGHT | \
D3DSTATUS_CLIPUNIONTOP | \
D3DSTATUS_CLIPUNIONBOTTOM | \
D3DSTATUS_CLIPUNIONFRONT | \
D3DSTATUS_CLIPUNIONBACK | \
D3DSTATUS_CLIPUNIONGEN0 | \
D3DSTATUS_CLIPUNIONGEN1 | \
D3DSTATUS_CLIPUNIONGEN2 | \
D3DSTATUS_CLIPUNIONGEN3 | \
D3DSTATUS_CLIPUNIONGEN4 | \
D3DSTATUS_CLIPUNIONGEN5 \
)

Definition at line 448 of file d3dtypes.h.

◆ D3DSTATUS_CLIPUNIONBACK

#define D3DSTATUS_CLIPUNIONBACK   D3DCLIP_BACK

Definition at line 426 of file d3dtypes.h.

◆ D3DSTATUS_CLIPUNIONBOTTOM

#define D3DSTATUS_CLIPUNIONBOTTOM   D3DCLIP_BOTTOM

Definition at line 424 of file d3dtypes.h.

◆ D3DSTATUS_CLIPUNIONFRONT

#define D3DSTATUS_CLIPUNIONFRONT   D3DCLIP_FRONT

Definition at line 425 of file d3dtypes.h.

◆ D3DSTATUS_CLIPUNIONGEN0

#define D3DSTATUS_CLIPUNIONGEN0   D3DCLIP_GEN0

Definition at line 427 of file d3dtypes.h.

◆ D3DSTATUS_CLIPUNIONGEN1

#define D3DSTATUS_CLIPUNIONGEN1   D3DCLIP_GEN1

Definition at line 428 of file d3dtypes.h.

◆ D3DSTATUS_CLIPUNIONGEN2

#define D3DSTATUS_CLIPUNIONGEN2   D3DCLIP_GEN2

Definition at line 429 of file d3dtypes.h.

◆ D3DSTATUS_CLIPUNIONGEN3

#define D3DSTATUS_CLIPUNIONGEN3   D3DCLIP_GEN3

Definition at line 430 of file d3dtypes.h.

◆ D3DSTATUS_CLIPUNIONGEN4

#define D3DSTATUS_CLIPUNIONGEN4   D3DCLIP_GEN4

Definition at line 431 of file d3dtypes.h.

◆ D3DSTATUS_CLIPUNIONGEN5

#define D3DSTATUS_CLIPUNIONGEN5   D3DCLIP_GEN5

Definition at line 432 of file d3dtypes.h.

◆ D3DSTATUS_CLIPUNIONLEFT

#define D3DSTATUS_CLIPUNIONLEFT   D3DCLIP_LEFT

Definition at line 421 of file d3dtypes.h.

◆ D3DSTATUS_CLIPUNIONRIGHT

#define D3DSTATUS_CLIPUNIONRIGHT   D3DCLIP_RIGHT

Definition at line 422 of file d3dtypes.h.

◆ D3DSTATUS_CLIPUNIONTOP

#define D3DSTATUS_CLIPUNIONTOP   D3DCLIP_TOP

Definition at line 423 of file d3dtypes.h.

◆ D3DSTATUS_DEFAULT

#define D3DSTATUS_DEFAULT
Value:
( \
D3DSTATUS_CLIPINTERSECTIONALL | \
D3DSTATUS_ZNOTVISIBLE)

Definition at line 478 of file d3dtypes.h.

◆ D3DSTATUS_ZNOTVISIBLE

#define D3DSTATUS_ZNOTVISIBLE   0x01000000

Definition at line 446 of file d3dtypes.h.

◆ D3DTA_ALPHAREPLICATE

#define D3DTA_ALPHAREPLICATE   0x00000020

Definition at line 1140 of file d3dtypes.h.

◆ D3DTA_COMPLEMENT

#define D3DTA_COMPLEMENT   0x00000010

Definition at line 1139 of file d3dtypes.h.

◆ D3DTA_CURRENT

#define D3DTA_CURRENT   0x00000001

Definition at line 1135 of file d3dtypes.h.

◆ D3DTA_DIFFUSE

#define D3DTA_DIFFUSE   0x00000000

Definition at line 1134 of file d3dtypes.h.

◆ D3DTA_SELECTMASK

#define D3DTA_SELECTMASK   0x0000000f

Definition at line 1133 of file d3dtypes.h.

◆ D3DTA_SPECULAR

#define D3DTA_SPECULAR   0x00000004

Definition at line 1138 of file d3dtypes.h.

◆ D3DTA_TEXTURE

#define D3DTA_TEXTURE   0x00000002

Definition at line 1136 of file d3dtypes.h.

◆ D3DTA_TFACTOR

#define D3DTA_TFACTOR   0x00000003

Definition at line 1137 of file d3dtypes.h.

◆ D3DTRANSFORM_CLIPPED

#define D3DTRANSFORM_CLIPPED   0x00000001

Definition at line 482 of file d3dtypes.h.

◆ D3DTRANSFORM_UNCLIPPED

#define D3DTRANSFORM_UNCLIPPED   0x00000002

Definition at line 483 of file d3dtypes.h.

◆ D3DTRIFLAG_EDGEENABLE1

#define D3DTRIFLAG_EDGEENABLE1   0x00000100L

Definition at line 1175 of file d3dtypes.h.

◆ D3DTRIFLAG_EDGEENABLE2

#define D3DTRIFLAG_EDGEENABLE2   0x00000200L

Definition at line 1176 of file d3dtypes.h.

◆ D3DTRIFLAG_EDGEENABLE3

#define D3DTRIFLAG_EDGEENABLE3   0x00000400L

Definition at line 1177 of file d3dtypes.h.

◆ D3DTRIFLAG_EDGEENABLETRIANGLE

Definition at line 1178 of file d3dtypes.h.

◆ D3DTRIFLAG_EVEN

#define D3DTRIFLAG_EVEN   0x0000001fL

Definition at line 1173 of file d3dtypes.h.

◆ D3DTRIFLAG_ODD

#define D3DTRIFLAG_ODD   0x0000001eL

Definition at line 1172 of file d3dtypes.h.

◆ D3DTRIFLAG_START

#define D3DTRIFLAG_START   0x00000000L

Definition at line 1170 of file d3dtypes.h.

◆ D3DTRIFLAG_STARTFLAT

#define D3DTRIFLAG_STARTFLAT (   len)    (len)

Definition at line 1171 of file d3dtypes.h.

◆ D3DTSS_TCI_CAMERASPACENORMAL

#define D3DTSS_TCI_CAMERASPACENORMAL   0x00010000

Definition at line 1094 of file d3dtypes.h.

◆ D3DTSS_TCI_CAMERASPACEPOSITION

#define D3DTSS_TCI_CAMERASPACEPOSITION   0x00020000

Definition at line 1095 of file d3dtypes.h.

◆ D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR

#define D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR   0x00030000

Definition at line 1096 of file d3dtypes.h.

◆ D3DTSS_TCI_PASSTHRU

#define D3DTSS_TCI_PASSTHRU   0x00000000

Definition at line 1093 of file d3dtypes.h.

◆ D3DVAL

#define D3DVAL (   val)    ((float)(val))

Definition at line 42 of file d3dtypes.h.

◆ D3DVALP

#define D3DVALP (   val,
  prec 
)    ((float)(val))

Definition at line 41 of file d3dtypes.h.

◆ D3DVBCAPS_DONOTCLIP

#define D3DVBCAPS_DONOTCLIP   0x00000001l

Definition at line 1283 of file d3dtypes.h.

◆ D3DVBCAPS_OPTIMIZED

#define D3DVBCAPS_OPTIMIZED   0x80000000l

Definition at line 1282 of file d3dtypes.h.

◆ D3DVBCAPS_SYSTEMMEMORY

#define D3DVBCAPS_SYSTEMMEMORY   0x00000800l

Definition at line 1280 of file d3dtypes.h.

◆ D3DVBCAPS_WRITEONLY

#define D3DVBCAPS_WRITEONLY   0x00010000l

Definition at line 1281 of file d3dtypes.h.

◆ D3DVECTOR_DEFINED

#define D3DVECTOR_DEFINED

Definition at line 148 of file d3dtypes.h.

◆ D3DVIS_INSIDE_BOTTOM

#define D3DVIS_INSIDE_BOTTOM   0

Definition at line 1362 of file d3dtypes.h.

◆ D3DVIS_INSIDE_FAR

#define D3DVIS_INSIDE_FAR   0

Definition at line 1368 of file d3dtypes.h.

◆ D3DVIS_INSIDE_FRUSTUM

#define D3DVIS_INSIDE_FRUSTUM   0

Definition at line 1350 of file d3dtypes.h.

◆ D3DVIS_INSIDE_LEFT

#define D3DVIS_INSIDE_LEFT   0

Definition at line 1353 of file d3dtypes.h.

◆ D3DVIS_INSIDE_NEAR

#define D3DVIS_INSIDE_NEAR   0

Definition at line 1365 of file d3dtypes.h.

◆ D3DVIS_INSIDE_RIGHT

#define D3DVIS_INSIDE_RIGHT   0

Definition at line 1356 of file d3dtypes.h.

◆ D3DVIS_INSIDE_TOP

#define D3DVIS_INSIDE_TOP   0

Definition at line 1359 of file d3dtypes.h.

◆ D3DVIS_INTERSECT_BOTTOM

#define D3DVIS_INTERSECT_BOTTOM   (1 << 8)

Definition at line 1363 of file d3dtypes.h.

◆ D3DVIS_INTERSECT_FAR

#define D3DVIS_INTERSECT_FAR   (1 << 12)

Definition at line 1369 of file d3dtypes.h.

◆ D3DVIS_INTERSECT_FRUSTUM

#define D3DVIS_INTERSECT_FRUSTUM   1

Definition at line 1351 of file d3dtypes.h.

◆ D3DVIS_INTERSECT_LEFT

#define D3DVIS_INTERSECT_LEFT   (1 << 2)

Definition at line 1354 of file d3dtypes.h.

◆ D3DVIS_INTERSECT_NEAR

#define D3DVIS_INTERSECT_NEAR   (1 << 10)

Definition at line 1366 of file d3dtypes.h.

◆ D3DVIS_INTERSECT_RIGHT

#define D3DVIS_INTERSECT_RIGHT   (1 << 4)

Definition at line 1357 of file d3dtypes.h.

◆ D3DVIS_INTERSECT_TOP

#define D3DVIS_INTERSECT_TOP   (1 << 6)

Definition at line 1360 of file d3dtypes.h.

◆ D3DVIS_MASK_BOTTOM

#define D3DVIS_MASK_BOTTOM   (3 << 8)

Definition at line 1376 of file d3dtypes.h.

◆ D3DVIS_MASK_FAR

#define D3DVIS_MASK_FAR   (3 << 12)

Definition at line 1378 of file d3dtypes.h.

◆ D3DVIS_MASK_FRUSTUM

#define D3DVIS_MASK_FRUSTUM   (3 << 0)

Definition at line 1372 of file d3dtypes.h.

◆ D3DVIS_MASK_LEFT

#define D3DVIS_MASK_LEFT   (3 << 2)

Definition at line 1373 of file d3dtypes.h.

◆ D3DVIS_MASK_NEAR

#define D3DVIS_MASK_NEAR   (3 << 10)

Definition at line 1377 of file d3dtypes.h.

◆ D3DVIS_MASK_RIGHT

#define D3DVIS_MASK_RIGHT   (3 << 4)

Definition at line 1374 of file d3dtypes.h.

◆ D3DVIS_MASK_TOP

#define D3DVIS_MASK_TOP   (3 << 6)

Definition at line 1375 of file d3dtypes.h.

◆ D3DVIS_OUTSIDE_BOTTOM

#define D3DVIS_OUTSIDE_BOTTOM   (2 << 8)

Definition at line 1364 of file d3dtypes.h.

◆ D3DVIS_OUTSIDE_FAR

#define D3DVIS_OUTSIDE_FAR   (2 << 12)

Definition at line 1370 of file d3dtypes.h.

◆ D3DVIS_OUTSIDE_FRUSTUM

#define D3DVIS_OUTSIDE_FRUSTUM   2

Definition at line 1352 of file d3dtypes.h.

◆ D3DVIS_OUTSIDE_LEFT

#define D3DVIS_OUTSIDE_LEFT   (2 << 2)

Definition at line 1355 of file d3dtypes.h.

◆ D3DVIS_OUTSIDE_NEAR

#define D3DVIS_OUTSIDE_NEAR   (2 << 10)

Definition at line 1367 of file d3dtypes.h.

◆ D3DVIS_OUTSIDE_RIGHT

#define D3DVIS_OUTSIDE_RIGHT   (2 << 4)

Definition at line 1358 of file d3dtypes.h.

◆ D3DVIS_OUTSIDE_TOP

#define D3DVIS_OUTSIDE_TOP   (2 << 6)

Definition at line 1361 of file d3dtypes.h.

◆ D3DVOP_CLIP

#define D3DVOP_CLIP   (1 << 2)

Definition at line 1287 of file d3dtypes.h.

◆ D3DVOP_EXTENTS

#define D3DVOP_EXTENTS   (1 << 3)

Definition at line 1288 of file d3dtypes.h.

◆ D3DVOP_LIGHT

#define D3DVOP_LIGHT   (1 << 10)

Definition at line 1285 of file d3dtypes.h.

◆ D3DVOP_TRANSFORM

#define D3DVOP_TRANSFORM   (1 << 0)

Definition at line 1286 of file d3dtypes.h.

◆ D3DWRAP_U

#define D3DWRAP_U   0x00000001L

Definition at line 1011 of file d3dtypes.h.

◆ D3DWRAP_V

#define D3DWRAP_V   0x00000002L

Definition at line 1012 of file d3dtypes.h.

◆ D3DWRAPCOORD_0

#define D3DWRAPCOORD_0   0x00000001L

Definition at line 1014 of file d3dtypes.h.

◆ D3DWRAPCOORD_1

#define D3DWRAPCOORD_1   0x00000002L

Definition at line 1015 of file d3dtypes.h.

◆ D3DWRAPCOORD_2

#define D3DWRAPCOORD_2   0x00000004L

Definition at line 1016 of file d3dtypes.h.

◆ D3DWRAPCOORD_3

#define D3DWRAPCOORD_3   0x00000008L

Definition at line 1017 of file d3dtypes.h.

◆ DX_SHARED_DEFINES

#define DX_SHARED_DEFINES

Definition at line 151 of file d3dtypes.h.

◆ RGB_GETBLUE

#define RGB_GETBLUE (   rgb)    ((rgb) & 0xff)

Definition at line 72 of file d3dtypes.h.

◆ RGB_GETGREEN

#define RGB_GETGREEN (   rgb)    (((rgb) >> 8) & 0xff)

Definition at line 71 of file d3dtypes.h.

◆ RGB_GETRED

#define RGB_GETRED (   rgb)    (((rgb) >> 16) & 0xff)

Definition at line 70 of file d3dtypes.h.

◆ RGB_MAKE

#define RGB_MAKE (   r,
  g,
  b 
)    ((D3DCOLOR) (((r) << 16) | ((g) << 8) | (b)))

Definition at line 74 of file d3dtypes.h.

◆ RGB_TORGBA

#define RGB_TORGBA (   rgb)    ((D3DCOLOR) ((rgb) | 0xff000000))

Definition at line 76 of file d3dtypes.h.

◆ RGBA_GETALPHA

#define RGBA_GETALPHA (   rgb)    ((rgb) >> 24)

Definition at line 57 of file d3dtypes.h.

◆ RGBA_GETBLUE

#define RGBA_GETBLUE (   rgb)    ((rgb) & 0xff)

Definition at line 60 of file d3dtypes.h.

◆ RGBA_GETGREEN

#define RGBA_GETGREEN (   rgb)    (((rgb) >> 8) & 0xff)

Definition at line 59 of file d3dtypes.h.

◆ RGBA_GETRED

#define RGBA_GETRED (   rgb)    (((rgb) >> 16) & 0xff)

Definition at line 58 of file d3dtypes.h.

◆ RGBA_MAKE

#define RGBA_MAKE (   r,
  g,
  b,
  a 
)    ((D3DCOLOR) (((a) << 24) | ((r) << 16) | ((g) << 8) | (b)))

Definition at line 61 of file d3dtypes.h.

◆ RGBA_SETALPHA

#define RGBA_SETALPHA (   rgba,
  x 
)    (((x) << 24) | ((rgba) & 0x00ffffff))

Definition at line 73 of file d3dtypes.h.

◆ RGBA_TORGB

#define RGBA_TORGB (   rgba)    ((D3DCOLOR) ((rgba) & 0xffffff))

Definition at line 75 of file d3dtypes.h.

Typedef Documentation

◆ D3DANTIALIASMODE

◆ D3DBRANCH

◆ D3DCLIPSTATUS

◆ D3DCOLOR

typedef DWORD D3DCOLOR

Definition at line 92 of file d3dtypes.h.

◆ D3DCOLORMODEL

Definition at line 629 of file d3dtypes.h.

◆ D3DCOLORVALUE

◆ D3DDP_PTRSTRIDE

◆ D3DDRAWPRIMITIVESTRIDEDDATA

◆ D3DEXECUTEDATA

◆ D3DFIXED

typedef LONG D3DFIXED

Definition at line 46 of file d3dtypes.h.

◆ D3DFOGMODE

◆ D3DHVERTEX

◆ D3DINSTRUCTION

◆ D3DLIGHT

◆ D3DLIGHT2

◆ D3DLIGHT7

◆ D3DLIGHTDATA

◆ D3DLIGHTINGELEMENT

◆ D3DLINE

◆ D3DLINEPATTERN

◆ D3DLVERTEX

◆ D3DMATERIAL

◆ D3DMATERIAL7

◆ D3DMATERIALCOLORSOURCE

◆ D3DMATERIALHANDLE

Definition at line 154 of file d3dtypes.h.

◆ D3DMATRIX

◆ D3DMATRIXHANDLE

Definition at line 156 of file d3dtypes.h.

◆ D3DMATRIXLOAD

◆ D3DMATRIXMULTIPLY

◆ D3DOPCODE

◆ D3DPICKRECORD

◆ D3DPOINT

◆ D3DPROCESSVERTICES

◆ D3DRECT

◆ D3DSPAN

◆ D3DSTATE

◆ D3DSTATEBLOCKTYPE

◆ D3DSTATUS

◆ D3DSTENCILOP

◆ D3DTEXTUREADDRESS

◆ D3DTEXTUREHANDLE

Definition at line 155 of file d3dtypes.h.

◆ D3DTEXTURELOAD

◆ D3DTEXTUREMAGFILTER

◆ D3DTEXTUREMINFILTER

◆ D3DTEXTUREMIPFILTER

◆ D3DTEXTUREOP

◆ D3DTEXTURESTAGESTATETYPE

◆ D3DTEXTURETRANSFORMFLAGS

◆ D3DTLVERTEX

◆ D3DTRANSFORMDATA

◆ D3DTRANSFORMSTATETYPE

◆ D3DTRIANGLE

◆ D3DVALUE

typedef float D3DVALUE

Definition at line 89 of file d3dtypes.h.

◆ D3DVECTOR

◆ D3DVERTEX

◆ D3DVERTEXBLENDFLAGS

◆ D3DVERTEXBUFFERDESC

◆ D3DVIEWPORT

◆ D3DVIEWPORT2

◆ D3DVIEWPORT7

◆ D3DZBUFFERTYPE

◆ LPD3DBRANCH

◆ LPD3DCLIPSTATUS

◆ LPD3DCOLOR

typedef DWORD * LPD3DCOLOR

Definition at line 92 of file d3dtypes.h.

◆ LPD3DCOLORVALUE

◆ LPD3DDRAWPRIMITIVESTRIDEDDATA

◆ LPD3DENUMPIXELFORMATSCALLBACK

typedef HRESULT(CALLBACK * LPD3DENUMPIXELFORMATSCALLBACK) (DDPIXELFORMAT *format, void *ctx)

Definition at line 85 of file d3dtypes.h.

◆ LPD3DENUMTEXTUREFORMATSCALLBACK

typedef HRESULT(CALLBACK * LPD3DENUMTEXTUREFORMATSCALLBACK) (DDSURFACEDESC *surface_desc, void *ctx)

Definition at line 84 of file d3dtypes.h.

◆ LPD3DEXECUTEDATA

◆ LPD3DHVERTEX

◆ LPD3DINSTRUCTION

◆ LPD3DLIGHT

◆ LPD3DLIGHT2

◆ LPD3DLIGHT7

◆ LPD3DLIGHTDATA

◆ LPD3DLIGHTINGELEMENT

◆ LPD3DLINE

◆ LPD3DLVERTEX

◆ LPD3DMATERIAL

◆ LPD3DMATERIAL7

◆ LPD3DMATERIALHANDLE

Definition at line 154 of file d3dtypes.h.

◆ LPD3DMATRIX

◆ LPD3DMATRIXHANDLE

Definition at line 156 of file d3dtypes.h.

◆ LPD3DMATRIXLOAD

◆ LPD3DMATRIXMULTIPLY

◆ LPD3DPICKRECORD

◆ LPD3DPOINT

◆ LPD3DPROCESSVERTICES

◆ LPD3DRECT

Definition at line 199 of file d3dtypes.h.

◆ LPD3DSPAN

◆ LPD3DSTATE

◆ LPD3DSTATS

◆ LPD3DSTATUS

◆ LPD3DTEXTUREHANDLE

Definition at line 155 of file d3dtypes.h.

◆ LPD3DTEXTURELOAD

◆ LPD3DTLVERTEX

◆ LPD3DTRANSFORMDATA

◆ LPD3DTRIANGLE

◆ LPD3DVALIDATECALLBACK

typedef HRESULT(CALLBACK * LPD3DVALIDATECALLBACK) (void *ctx, DWORD offset)

Definition at line 83 of file d3dtypes.h.

◆ LPD3DVALUE

typedef float * LPD3DVALUE

Definition at line 89 of file d3dtypes.h.

◆ LPD3DVECTOR

◆ LPD3DVERTEX

◆ LPD3DVERTEXBUFFERDESC

◆ LPD3DVIEWPORT

◆ LPD3DVIEWPORT2

◆ LPD3DVIEWPORT7

Enumeration Type Documentation

◆ _D3DANTIALIASMODE

Enumerator
D3DANTIALIAS_NONE 
D3DANTIALIAS_SORTDEPENDENT 
D3DANTIALIAS_SORTINDEPENDENT 
D3DANTIALIAS_FORCE_DWORD 

Definition at line 806 of file d3dtypes.h.

◆ _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 789 of file d3dtypes.h.

789  {
790  D3DFOG_NONE = 0,
791  D3DFOG_EXP = 1,
792  D3DFOG_EXP2 = 2,
793  D3DFOG_LINEAR = 3,
794  D3DFOG_FORCE_DWORD = 0x7fffffff
795 } D3DFOGMODE;
enum _D3DFOGMODE D3DFOGMODE

◆ _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 1001 of file d3dtypes.h.

1002 {
1003  D3DMCS_MATERIAL = 0,
1004  D3DMCS_COLOR1 = 1,
1005  D3DMCS_COLOR2 = 2,
1006  D3DMCS_FORCE_DWORD = 0x7fffffff
enum _D3DMATERIALCOLORSOURCE D3DMATERIALCOLORSOURCE

◆ _D3DOPCODE

Enumerator
D3DOP_POINT 
D3DOP_LINE 
D3DOP_TRIANGLE 
D3DOP_MATRIXLOAD 
D3DOP_MATRIXMULTIPLY 
D3DOP_STATETRANSFORM 
D3DOP_STATELIGHT 
D3DOP_STATERENDER 
D3DOP_PROCESSVERTICES 
D3DOP_TEXTURELOAD 
D3DOP_EXIT 
D3DOP_BRANCHFORWARD 
D3DOP_SPAN 
D3DOP_SETSTATUS 
D3DOP_FORCE_DWORD 

Definition at line 643 of file d3dtypes.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 1387 of file d3dtypes.h.

1388 {
1389  D3DSBT_ALL = 1,
1390  D3DSBT_PIXELSTATE = 2,
1391  D3DSBT_VERTEXSTATE = 3,
1392  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 777 of file d3dtypes.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 750 of file d3dtypes.h.

750  {
751  D3DTADDRESS_WRAP = 1,
752  D3DTADDRESS_MIRROR = 2,
753  D3DTADDRESS_CLAMP = 3,
754  D3DTADDRESS_BORDER = 4,
755  D3DTADDRESS_FORCE_DWORD = 0x7fffffff
enum _D3DTEXTUREADDRESS D3DTEXTUREADDRESS

◆ _D3DTEXTUREMAGFILTER

Enumerator
D3DTFG_POINT 
D3DTFG_LINEAR 
D3DTFG_FLATCUBIC 
D3DTFG_GAUSSIANCUBIC 
D3DTFG_ANISOTROPIC 
D3DTFG_FORCE_DWORD 

Definition at line 1144 of file d3dtypes.h.

1145 {
1146  D3DTFG_POINT = 1,
1147  D3DTFG_LINEAR = 2,
1148  D3DTFG_FLATCUBIC = 3,
1150  D3DTFG_ANISOTROPIC = 5,
1151  D3DTFG_FORCE_DWORD = 0x7fffffff
enum _D3DTEXTUREMAGFILTER D3DTEXTUREMAGFILTER

◆ _D3DTEXTUREMINFILTER

Enumerator
D3DTFN_POINT 
D3DTFN_LINEAR 
D3DTFN_ANISOTROPIC 
D3DTFN_FORCE_DWORD 

Definition at line 1154 of file d3dtypes.h.

1155 {
1156  D3DTFN_POINT = 1,
1157  D3DTFN_LINEAR = 2,
1158  D3DTFN_ANISOTROPIC = 3,
1159  D3DTFN_FORCE_DWORD = 0x7fffffff
enum _D3DTEXTUREMINFILTER D3DTEXTUREMINFILTER

◆ _D3DTEXTUREMIPFILTER

Enumerator
D3DTFP_NONE 
D3DTFP_POINT 
D3DTFP_LINEAR 
D3DTFP_FORCE_DWORD 

Definition at line 1162 of file d3dtypes.h.

1163 {
1164  D3DTFP_NONE = 1,
1165  D3DTFP_POINT = 2,
1166  D3DTFP_LINEAR = 3,
1167  D3DTFP_FORCE_DWORD = 0x7fffffff
enum _D3DTEXTUREMIPFILTER D3DTEXTUREMIPFILTER

◆ _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 1098 of file d3dtypes.h.

1099 {
1100  D3DTOP_DISABLE = 1,
1101  D3DTOP_SELECTARG1 = 2,
1102  D3DTOP_SELECTARG2 = 3,
1103 
1104  D3DTOP_MODULATE = 4,
1105  D3DTOP_MODULATE2X = 5,
1106  D3DTOP_MODULATE4X = 6,
1107 
1108  D3DTOP_ADD = 7,
1109  D3DTOP_ADDSIGNED = 8,
1110  D3DTOP_ADDSIGNED2X = 9,
1111  D3DTOP_SUBTRACT = 10,
1112  D3DTOP_ADDSMOOTH = 11,
1113 
1119 
1120  D3DTOP_PREMODULATE = 17,
1125 
1126  D3DTOP_BUMPENVMAP = 22,
1128  D3DTOP_DOTPRODUCT3 = 24,
1129 
1130  D3DTOP_FORCE_DWORD = 0x7fffffff
1131 } 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 1064 of file d3dtypes.h.

1065 {
1066  D3DTSS_COLOROP = 1,
1067  D3DTSS_COLORARG1 = 2,
1068  D3DTSS_COLORARG2 = 3,
1069  D3DTSS_ALPHAOP = 4,
1070  D3DTSS_ALPHAARG1 = 5,
1071  D3DTSS_ALPHAARG2 = 6,
1072  D3DTSS_BUMPENVMAT00 = 7,
1073  D3DTSS_BUMPENVMAT01 = 8,
1074  D3DTSS_BUMPENVMAT10 = 9,
1075  D3DTSS_BUMPENVMAT11 = 10,
1076  D3DTSS_TEXCOORDINDEX = 11,
1077  D3DTSS_ADDRESS = 12,
1078  D3DTSS_ADDRESSU = 13,
1079  D3DTSS_ADDRESSV = 14,
1080  D3DTSS_BORDERCOLOR = 15,
1081  D3DTSS_MAGFILTER = 16,
1082  D3DTSS_MINFILTER = 17,
1083  D3DTSS_MIPFILTER = 18,
1084  D3DTSS_MIPMAPLODBIAS = 19,
1085  D3DTSS_MAXMIPLEVEL = 20,
1086  D3DTSS_MAXANISOTROPY = 21,
1087  D3DTSS_BUMPENVLSCALE = 22,
1088  D3DTSS_BUMPENVLOFFSET = 23,
1090  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 1403 of file d3dtypes.h.

1403  {
1404  D3DTTFF_DISABLE = 0,
1405  D3DTTFF_COUNT1 = 1,
1406  D3DTTFF_COUNT2 = 2,
1407  D3DTTFF_COUNT3 = 3,
1408  D3DTTFF_COUNT4 = 4,
1409  D3DTTFF_PROJECTED = 256,
1410  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 840 of file d3dtypes.h.

◆ _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 
D3DVBLEND_DISABLE 
D3DVBLEND_1WEIGHT 
D3DVBLEND_2WEIGHTS 
D3DVBLEND_3WEIGHTS 

Definition at line 1395 of file d3dtypes.h.

1396 {
1397  D3DVBLEND_DISABLE = 0,
1398  D3DVBLEND_1WEIGHT = 1,
1399  D3DVBLEND_2WEIGHTS = 2,
1400  D3DVBLEND_3WEIGHTS = 3,
enum _D3DVERTEXBLENDFLAGS D3DVERTEXBLENDFLAGS

◆ _D3DZBUFFERTYPE

Enumerator
D3DZB_FALSE 
D3DZB_TRUE 
D3DZB_USEW 
D3DZB_FORCE_DWORD 
D3DZB_FALSE 
D3DZB_TRUE 
D3DZB_USEW 
D3DZB_FORCE_DWORD 
D3DZB_FALSE 
D3DZB_TRUE 
D3DZB_USEW 
D3DZB_FORCE_DWORD 

Definition at line 797 of file d3dtypes.h.

797  {
798  D3DZB_FALSE = 0,
799  D3DZB_TRUE = 1,
800  D3DZB_USEW = 2,
801  D3DZB_FORCE_DWORD = 0x7fffffff
enum _D3DZBUFFERTYPE D3DZBUFFERTYPE

◆ 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 

Definition at line 715 of file d3dtypes.h.

◆ D3DCMPFUNC

Enumerator
D3DCMP_NEVER 
D3DCMP_LESS 
D3DCMP_EQUAL 
D3DCMP_LESSEQUAL 
D3DCMP_GREATER 
D3DCMP_NOTEQUAL 
D3DCMP_GREATEREQUAL 
D3DCMP_ALWAYS 
D3DCMP_FORCE_DWORD 

Definition at line 765 of file d3dtypes.h.

◆ D3DCULL

Enumerator
D3DCULL_NONE 
D3DCULL_CW 
D3DCULL_CCW 
D3DCULL_FORCE_DWORD 

Definition at line 758 of file d3dtypes.h.

758  {
759  D3DCULL_NONE = 1,
760  D3DCULL_CW = 2,
761  D3DCULL_CCW = 3,
762  D3DCULL_FORCE_DWORD = 0x7fffffff
763 } D3DCULL;
D3DCULL
Definition: d3dtypes.h:758

◆ D3DFILLMODE

Enumerator
D3DFILL_POINT 
D3DFILL_WIREFRAME 
D3DFILL_SOLID 
D3DFILL_FORCE_DWORD 

Definition at line 689 of file d3dtypes.h.

689  {
690  D3DFILL_POINT = 1,
691  D3DFILL_WIREFRAME = 2,
692  D3DFILL_SOLID = 3,
693  D3DFILL_FORCE_DWORD = 0x7fffffff
694 } D3DFILLMODE;
D3DFILLMODE
Definition: d3dtypes.h:689

◆ D3DLIGHTSTATETYPE

Enumerator
D3DLIGHTSTATE_MATERIAL 
D3DLIGHTSTATE_AMBIENT 
D3DLIGHTSTATE_COLORMODEL 
D3DLIGHTSTATE_FOGMODE 
D3DLIGHTSTATE_FOGSTART 
D3DLIGHTSTATE_FOGEND 
D3DLIGHTSTATE_FOGDENSITY 
D3DLIGHTSTATE_COLORVERTEX 
D3DLIGHTSTATE_FORCE_DWORD 

Definition at line 860 of file d3dtypes.h.

◆ D3DLIGHTTYPE

Enumerator
D3DLIGHT_POINT 
D3DLIGHT_SPOT 
D3DLIGHT_DIRECTIONAL 
D3DLIGHT_PARALLELPOINT 
D3DLIGHT_GLSPOT 
D3DLIGHT_FORCE_DWORD 

Definition at line 554 of file d3dtypes.h.

◆ D3DPRIMITIVETYPE

Enumerator
D3DPT_POINTLIST 
D3DPT_LINELIST 
D3DPT_LINESTRIP 
D3DPT_TRIANGLELIST 
D3DPT_TRIANGLESTRIP 
D3DPT_TRIANGLEFAN 
D3DPT_FORCE_DWORD 

Definition at line 822 of file d3dtypes.h.

◆ D3DRENDERSTATETYPE

Enumerator
D3DRENDERSTATE_TEXTUREHANDLE 
D3DRENDERSTATE_ANTIALIAS 
D3DRENDERSTATE_TEXTUREADDRESS 
D3DRENDERSTATE_TEXTUREPERSPECTIVE 
D3DRENDERSTATE_WRAPU 
D3DRENDERSTATE_WRAPV 
D3DRENDERSTATE_ZENABLE 
D3DRENDERSTATE_FILLMODE 
D3DRENDERSTATE_SHADEMODE 
D3DRENDERSTATE_LINEPATTERN 
D3DRENDERSTATE_MONOENABLE 
D3DRENDERSTATE_ROP2 
D3DRENDERSTATE_PLANEMASK 
D3DRENDERSTATE_ZWRITEENABLE 
D3DRENDERSTATE_ALPHATESTENABLE 
D3DRENDERSTATE_LASTPIXEL 
D3DRENDERSTATE_TEXTUREMAG 
D3DRENDERSTATE_TEXTUREMIN 
D3DRENDERSTATE_SRCBLEND 
D3DRENDERSTATE_DESTBLEND 
D3DRENDERSTATE_TEXTUREMAPBLEND 
D3DRENDERSTATE_CULLMODE 
D3DRENDERSTATE_ZFUNC 
D3DRENDERSTATE_ALPHAREF 
D3DRENDERSTATE_ALPHAFUNC 
D3DRENDERSTATE_DITHERENABLE 
D3DRENDERSTATE_ALPHABLENDENABLE 
D3DRENDERSTATE_FOGENABLE 
D3DRENDERSTATE_SPECULARENABLE 
D3DRENDERSTATE_ZVISIBLE 
D3DRENDERSTATE_SUBPIXEL 
D3DRENDERSTATE_SUBPIXELX 
D3DRENDERSTATE_STIPPLEDALPHA 
D3DRENDERSTATE_FOGCOLOR 
D3DRENDERSTATE_FOGTABLEMODE 
D3DRENDERSTATE_FOGTABLESTART 
D3DRENDERSTATE_FOGTABLEEND 
D3DRENDERSTATE_FOGTABLEDENSITY 
D3DRENDERSTATE_FOGSTART 
D3DRENDERSTATE_FOGEND 
D3DRENDERSTATE_FOGDENSITY 
D3DRENDERSTATE_STIPPLEENABLE 
D3DRENDERSTATE_EDGEANTIALIAS 
D3DRENDERSTATE_COLORKEYENABLE 
D3DRENDERSTATE_BORDERCOLOR 
D3DRENDERSTATE_TEXTUREADDRESSU 
D3DRENDERSTATE_TEXTUREADDRESSV 
D3DRENDERSTATE_MIPMAPLODBIAS 
D3DRENDERSTATE_ZBIAS 
D3DRENDERSTATE_RANGEFOGENABLE 
D3DRENDERSTATE_ANISOTROPY 
D3DRENDERSTATE_FLUSHBATCH 
D3DRENDERSTATE_TRANSLUCENTSORTINDEPENDENT 
D3DRENDERSTATE_STENCILENABLE 
D3DRENDERSTATE_STENCILFAIL 
D3DRENDERSTATE_STENCILZFAIL 
D3DRENDERSTATE_STENCILPASS 
D3DRENDERSTATE_STENCILFUNC 
D3DRENDERSTATE_STENCILREF 
D3DRENDERSTATE_STENCILMASK 
D3DRENDERSTATE_STENCILWRITEMASK 
D3DRENDERSTATE_TEXTUREFACTOR 
D3DRENDERSTATE_STIPPLEPATTERN00 
D3DRENDERSTATE_STIPPLEPATTERN01 
D3DRENDERSTATE_STIPPLEPATTERN02 
D3DRENDERSTATE_STIPPLEPATTERN03 
D3DRENDERSTATE_STIPPLEPATTERN04 
D3DRENDERSTATE_STIPPLEPATTERN05 
D3DRENDERSTATE_STIPPLEPATTERN06 
D3DRENDERSTATE_STIPPLEPATTERN07 
D3DRENDERSTATE_STIPPLEPATTERN08 
D3DRENDERSTATE_STIPPLEPATTERN09 
D3DRENDERSTATE_STIPPLEPATTERN10 
D3DRENDERSTATE_STIPPLEPATTERN11 
D3DRENDERSTATE_STIPPLEPATTERN12 
D3DRENDERSTATE_STIPPLEPATTERN13 
D3DRENDERSTATE_STIPPLEPATTERN14 
D3DRENDERSTATE_STIPPLEPATTERN15 
D3DRENDERSTATE_STIPPLEPATTERN16 
D3DRENDERSTATE_STIPPLEPATTERN17 
D3DRENDERSTATE_STIPPLEPATTERN18 
D3DRENDERSTATE_STIPPLEPATTERN19 
D3DRENDERSTATE_STIPPLEPATTERN20 
D3DRENDERSTATE_STIPPLEPATTERN21 
D3DRENDERSTATE_STIPPLEPATTERN22 
D3DRENDERSTATE_STIPPLEPATTERN23 
D3DRENDERSTATE_STIPPLEPATTERN24 
D3DRENDERSTATE_STIPPLEPATTERN25 
D3DRENDERSTATE_STIPPLEPATTERN26 
D3DRENDERSTATE_STIPPLEPATTERN27 
D3DRENDERSTATE_STIPPLEPATTERN28 
D3DRENDERSTATE_STIPPLEPATTERN29 
D3DRENDERSTATE_STIPPLEPATTERN30 
D3DRENDERSTATE_STIPPLEPATTERN31 
D3DRENDERSTATE_WRAP0 
D3DRENDERSTATE_WRAP1 
D3DRENDERSTATE_WRAP2 
D3DRENDERSTATE_WRAP3 
D3DRENDERSTATE_WRAP4 
D3DRENDERSTATE_WRAP5 
D3DRENDERSTATE_WRAP6 
D3DRENDERSTATE_WRAP7 
D3DRENDERSTATE_CLIPPING 
D3DRENDERSTATE_LIGHTING 
D3DRENDERSTATE_EXTENTS 
D3DRENDERSTATE_AMBIENT 
D3DRENDERSTATE_FOGVERTEXMODE 
D3DRENDERSTATE_COLORVERTEX 
D3DRENDERSTATE_LOCALVIEWER 
D3DRENDERSTATE_NORMALIZENORMALS 
D3DRENDERSTATE_COLORKEYBLENDENABLE 
D3DRENDERSTATE_DIFFUSEMATERIALSOURCE 
D3DRENDERSTATE_SPECULARMATERIALSOURCE 
D3DRENDERSTATE_AMBIENTMATERIALSOURCE 
D3DRENDERSTATE_EMISSIVEMATERIALSOURCE 
D3DRENDERSTATE_VERTEXBLEND 
D3DRENDERSTATE_CLIPPLANEENABLE 
D3DRENDERSTATE_FORCE_DWORD 

Definition at line 874 of file d3dtypes.h.

874  {
886  D3DRENDERSTATE_ROP2 = 12,
928 
938 
971 
972  D3DRENDERSTATE_WRAP0 = 128,
973  D3DRENDERSTATE_WRAP1 = 129,
974  D3DRENDERSTATE_WRAP2 = 130,
975  D3DRENDERSTATE_WRAP3 = 131,
976  D3DRENDERSTATE_WRAP4 = 132,
977  D3DRENDERSTATE_WRAP5 = 133,
978  D3DRENDERSTATE_WRAP6 = 134,
979  D3DRENDERSTATE_WRAP7 = 135,
995 
996  D3DRENDERSTATE_FORCE_DWORD = 0x7fffffff
997 
998  /* FIXME: We have some retired values that are being reused for DirectX 7 */
D3DRENDERSTATETYPE
Definition: d3dtypes.h:874

◆ D3DSHADEMODE

Enumerator
D3DSHADE_FLAT 
D3DSHADE_GOURAUD 
D3DSHADE_PHONG 
D3DSHADE_FORCE_DWORD 

Definition at line 682 of file d3dtypes.h.

682  {
683  D3DSHADE_FLAT = 1,
684  D3DSHADE_GOURAUD = 2,
685  D3DSHADE_PHONG = 3,
686  D3DSHADE_FORCE_DWORD = 0x7fffffff
687 } D3DSHADEMODE;
D3DSHADEMODE
Definition: d3dtypes.h:682

◆ D3DTEXTUREBLEND

Enumerator
D3DTBLEND_DECAL 
D3DTBLEND_MODULATE 
D3DTBLEND_DECALALPHA 
D3DTBLEND_MODULATEALPHA 
D3DTBLEND_DECALMASK 
D3DTBLEND_MODULATEMASK 
D3DTBLEND_COPY 
D3DTBLEND_ADD 
D3DTBLEND_FORCE_DWORD 

Definition at line 735 of file d3dtypes.h.

◆ D3DTEXTUREFILTER

Enumerator
D3DFILTER_NEAREST 
D3DFILTER_LINEAR 
D3DFILTER_MIPNEAREST 
D3DFILTER_MIPLINEAR 
D3DFILTER_LINEARMIPNEAREST 
D3DFILTER_LINEARMIPLINEAR 
D3DFILTER_FORCE_DWORD 

Definition at line 703 of file d3dtypes.h.

◆ D3DVERTEXTYPE

Enumerator
D3DVT_VERTEX 
D3DVT_LVERTEX 
D3DVT_TLVERTEX 
D3DVT_FORCE_DWORD 

Definition at line 813 of file d3dtypes.h.

813  {
814  D3DVT_VERTEX = 1,
815  D3DVT_LVERTEX = 2,
816  D3DVT_TLVERTEX = 3,
817  D3DVT_FORCE_DWORD = 0x7fffffff
818 } D3DVERTEXTYPE;
D3DVERTEXTYPE
Definition: d3dtypes.h:813