rwRENDERSTATETEXTURERASTER |
Raster used for texturing (normally used in immediate mode).
The value is a pointer to an RwRaster. |
rwRENDERSTATETEXTUREADDRESS |
RwTextureAddressMode: wrap,
clamp, mirror or border. |
rwRENDERSTATETEXTUREADDRESSU |
RwTextureAddressMode in u
only. |
rwRENDERSTATETEXTUREADDRESSV |
RwTextureAddressMode in v
only. |
rwRENDERSTATETEXTUREPERSPECTIVE |
Perspective correction on/off (always enabled on many
platforms). |
rwRENDERSTATEZTESTENABLE |
Z-buffer test on/off. |
rwRENDERSTATESHADEMODE |
RwShadeMode: flat or gouraud
shading. |
rwRENDERSTATEZWRITEENABLE |
Z-buffer write on/off. |
rwRENDERSTATETEXTUREFILTER |
RwTextureFilterMode: point
sample, bilinear, trilinear, etc. |
rwRENDERSTATESRCBLEND |
RwBlendFunction used to modulate
the source pixel color when blending to the frame buffer. |
rwRENDERSTATEDESTBLEND |
RwBlendFunction used to modulate
the destination pixel color in the frame buffer when blending. The
resulting pixel color is given by the formula (SRCBLEND * srcColor
+ DESTBLEND * destColor) for each RGB component. For a particular
platform, not all combinations of blend function are allowed (see
platform specific restrictions). |
rwRENDERSTATEVERTEXALPHAENABLE |
Alpha blending on/off (always enabled on some platforms). This
is normally used in immediate mode to enable alpha blending when
vertex colors or texture rasters have transparency. Retained mode
pipelines will usually set this state based on material colors and
textures. |
rwRENDERSTATEBORDERCOLOR |
Border color for RwTextureAddressMode rwTEXTUREADDRESSBORDER. The
value should be a packed RwUInt32 in a platform specific format.
The macro RWRGBALONG(r, g, b, a) may be used to construct this
using 8-bit color components. |
rwRENDERSTATEFOGENABLE |
Fogging on/off (all polygons will be fogged). |
rwRENDERSTATEFOGCOLOR |
Color used for fogging. The value should be a packed RwUInt32
in a platform specific format. The macro RWRGBALONG(r, g, b, a) may
be used to construct this using 8-bit color components. |
rwRENDERSTATEFOGTYPE |
RwFogType, the type of fogging
to use. |
rwRENDERSTATEFOGDENSITY |
Fog density for RwFogType of rwFOGTYPEEXPONENTIAL or
rwFOGTYPEEXPONENTIAL2. The
value should be a pointer to an RwReal in the range 0 to 1. |
rwRENDERSTATECULLMODE |
RwCullMode, for selecting
front/back face culling, or no culling. |
rwRENDERSTATESTENCILENABLE |
Stenciling on/off. Supported on Xbox, D3D8, and OpenGL
only. |
rwRENDERSTATESTENCILFAIL |
RwStencilOperation used when the
stencil test passes. Supported on Xbox, D3D8, and OpenGL
only. |
rwRENDERSTATESTENCILZFAIL |
RwStencilOperation used when the
stencil test passes and the depth test (z-test) fails.
Supported on Xbox, D3D8, and OpenGL only. |
rwRENDERSTATESTENCILPASS |
Stencil operation used when both the stencil and the depth (z)
tests pass. Supported on Xbox, D3D8, and OpenGL only. |
rwRENDERSTATESTENCILFUNCTION |
RwStencilFunction for the
stencil test. Supported on Xbox, D3D8, and OpenGL
only. |
rwRENDERSTATESTENCILFUNCTIONREF |
Integer reference value for the stencil test. Supported on
Xbox, D3D8, and OpenGL only. |
rwRENDERSTATESTENCILFUNCTIONMASK |
Mask applied to the reference value and each stencil buffer
entry to determine the significant bits for the stencil test.
Supported on Xbox, D3D8, and OpenGL only. |
rwRENDERSTATESTENCILFUNCTIONWRITEMASK |
Write mask applied to values written into the stencil buffer.
Supported on Xbox, D3D8, and OpenGL only. |