Package com.ms.com.directX |
|
 Previous |
 Microsoft Packages |
 Index |
 Next |
D3DRENDERSTATE_ Values
Describes the render state for the D3DOP_STATERENDER opcode.
- D3DRENDERSTATE_TEXTUREHANDLE
- Texture handle. The default value is null.
- D3DRENDERSTATE_ANTIALIAS
- Antialiasing primitive edges. The default value is FALSE.
- D3DRENDERSTATE_TEXTUREADDRESS
- One value of D3DTADDRESS_ type. The default value is D3DTADDRESS_WRAP.
- D3DRENDERSTATE_TEXTUREPERSPECTIVE
- TRUE for perspective correction. The default value is FALSE.
- D3DRENDERSTATE_WRAPU
- TRUE for wrapping in u direction. The default value is FALSE.
- D3DRENDERSTATE_WRAPV
- TRUE for wrapping in v direction. The default value is FALSE.
- D3DRENDERSTATE_ZENABLE
- TRUE to enable the z-buffer comparison test when writing to the frame buffer. The default value is FALSE.
- D3DRENDERSTATE_FILLMODE
- One or more values of D3DFILL_ type. The default value is D3DFILL_SOLID.
- D3DRENDERSTATE_SHADEMODE
- One or more values of D3DSHADE_ type. The default value is D3DSHADE_GOURAUD.
- D3DRENDERSTATE_LINEPATTERN
- Reserved.
- D3DRENDERSTATE_MONOENABLE
- TRUE to enable monochromatic rendering. The default value is FALSE. If the device does not support RGB rendering, the value will be TRUE. Applications can check whether the device supports RGB rendering by using the dcmColorModel field of the d3dDeviceDesc class.
- D3DRENDERSTATE_ROP2
- One of the 16 ROP2 binary raster operations specifying how the supplied pixels are combined with the pixels of the display surface. The default value is R2_COPYPEN. Applications can use the D3DPRASTERCAPS_ROP2 flag in the dwRasterCaps field of the d3dFindDeviceSearch class to determine whether additional raster operations are supported.
- D3DRENDERSTATE_PLANEMASK
- Physical plane mask. The default value is ~0.
- D3DRENDERSTATE_ZWRITEENABLE
- TRUE to enable z writes. The default value is TRUE. This member enables an application to prevent the system from updating the z-buffer with new z values.
- D3DRENDERSTATE_ALPHATESTENABLE
- TRUE to enable alpha tests. The default value is FALSE. This member enables applications to turn off the tests that otherwise would accept or reject a pixel based on its alpha value.
- D3DRENDERSTATE_LASTPIXEL
- TRUE to prevent drawing the last pixel in a line. The default value is TRUE.
- D3DRENDERSTATE_TEXTUREMAG
- One value of D3DFILTER_ type. The default value is D3DFILTER_NEAREST.
- D3DRENDERSTATE_TEXTUREMIN
- One value of D3DFILTER_ type. The default value is D3DFILTER_NEAREST.
- D3DRENDERSTATE_SRCBLEND
- One value of D3DBLEND_ type. The default value is D3DBLEND_ONE.
- D3DRENDERSTATE_DESTBLEND
- One value of D3DBLEND_ type. The default value is D3DBLEND_ZERO.
- D3DRENDERSTATE_TEXTUREMAPBLEND
- One value of D3DTBLEND_ type. The default value is D3DTBLEND_MODULATE.
- D3DRENDERSTATE_CULLMODE
- One value of D3DCULL_ type. The default value is D3DCULL_CCW. Software renderers have a fixed culling order and do not support changing the culling mode.
- D3DRENDERSTATE_ZFUNC
- One value of D3DCMP_ type. The default value is D3DCMP_LESSEQUAL. This field enables an application to accept or reject a pixel based on its distance from the camera.
- D3DRENDERSTATE_ALPHAREF
- Value specifying a reference alpha value against which pixels are tested when alpha-testing is enabled. The default value is 0.
- D3DRENDERSTATE_ALPHAFUNC
- One value of D3DCMP_ type. The default value is D3DCMP_ALWAYS. This field enables an application to accept or reject a pixel based on its alpha value.
- D3DRENDERSTATE_DITHERENABLE
- TRUE to enable dithering. The default value is FALSE.
- D3DRENDERSTATE_BLENDENABLE
- TRUE to enable alpha blending. The default value is FALSE.
- D3DRENDERSTATE_FOGENABLE
- TRUE to enable fog. The default value is FALSE.
- D3DRENDERSTATE_SPECULARENABLE
- TRUE to enable specular. The default value is TRUE.
- D3DRENDERSTATE_ZVISIBLE
- TRUE to enable z-checking. The default value is FALSE. Z-checking is a culling technique in which a polygon representing the screen space of an entire group of polygons is tested against the z-buffer to discover whether any of the polygons should be drawn.
- D3DRENDERSTATE_SUBPIXEL
- TRUE to enable subpixel correction. The default value is FALSE.
- D3DRENDERSTATE_SUBPIXELX
- TRUE to enable correction in X only. The default value is FALSE.
- D3DRENDERSTATE_STIPPLEDALPHA
- TRUE to enable stippled alpha. The default value is FALSE.
- D3DRENDERSTATE_FOGCOLOR
- A value of D3DCOLOR_ type. The default value is 0.
- D3DRENDERSTATE_FOGTABLEMODE
- A value of D3DFOG_ type. The default value is D3DFOG_NONE.
- D3DRENDERSTATE_FOGTABLESTART
- Fog table start. This is the position at which fog effects begin for linear fog mode.
- D3DRENDERSTATE_FOGTABLEEND
- Fog table end. This is the position at which fog effects reach their maximum density for linear fog mode.
- D3DRENDERSTATE_FOGTABLEDENSITY
- Sets the maximum fog density for linear fog mode. This value can range from 0 to 1.
- D3DRENDERSTATE_STIPPLEENABLE
- Enables stippling in the device driver. When stippled alpha is enabled, it must override the current stipple pattern. When stippled alpha is disabled, the stipple pattern must be returned.
- D3DRENDERSTATE_STIPPLEPATTERN00 through D3DRENDERSTATE_STIPPLEPATTERN31
- Stipple pattern. Each render state applies to a separate line of the stipple pattern.