RenderStateManager Members
Defines device render states.
The following tables list the members exposed by the RenderStateManager type.
Public Properties
Name | Description | |
---|---|---|
AlphaBlendEnable | Retrieves or sets a value to enable alpha-blended transparency. | |
AlphaFunction | Retrieves or sets the comparison function for the alpha test. | |
AlphaTestEnable | Retrieves or sets a render state that enables a per-pixel alpha test. | |
Ambient | Retrieves or sets the ambient light color. | |
AmbientMaterialSource | Retrieves or sets the ambient color source for lighting calculations. | |
BlendOperation | Retrieves or sets a value to select the arithmetic operation to apply when AlphaBlendEnable is set to true. | |
Clipping | Retrieves or sets a value to enable primitive clipping by Direct3D. | |
ColorVertex | Retrieves or sets a value to enable or disable per-vertex color. | |
ColorWriteEnable | Retrieves or sets a value that enables a per-channel write for the render target color buffer. | |
CullMode | Specifies how back-facing triangles are culled, if at all. | |
DepthBias | Sets or retrieves the depth bias for polygons. | |
DestinationBlend | Contains a member of the Blend enumeration that represents the destination blend. | |
DiffuseMaterialSource | Retrieves or sets the diffuse color source for lighting calculations. | |
DitherEnable | Enables or disables dithering. | |
FillMode | Represents the fill mode. | |
FogColor | Retrieves or sets the fog color. | |
FogDensity | Retrieves or sets the fog density for pixel or vertex fog used in exponential fog modes. | |
FogEnable | Enables or disables fog blending. | |
FogEnd | Retrieves or sets the depth at which pixel or vertex fog effects end for linear fog mode. | |
FogStart | Retrieves or sets the depth at which pixel or vertex fog effects begin for linear fog mode. | |
FogTableMode | Retrieves or sets the fog formula to use for pixel fog. | |
FogVertexMode | Retrieves or sets the fog formula to use for vertex fog. | |
LastPixel | Enables or disables drawing of the last pixel in a line. | |
Lighting | Enables or disables Direct3D lighting. | |
LocalViewer | Specifies whether to use camera-relative specular highlights or orthogonal specular highlights. | |
NormalizeNormals | Enables or disables automatic normalization of vertex normals. | |
RangeFogEnable | Retrieves or sets enabling of range-based vertex fog. | |
ReferenceAlpha | Specifies a reference alpha value against which pixels are tested when alpha testing is enabled. | |
ReferenceStencil | Specifies a reference value to use for the stencil test. | |
ShadeMode | Gets or sets the supported shading mode. | |
SlopeScaleDepthBias | Retrieves or sets a value used to determine how much bias can be applied to coplanar primitives to reduce flimmering z-fighting. | |
SourceBlend | Gets or sets the color blending mode. | |
SpecularEnable | Retrieves or sets a render state that enables specular highlights. | |
SpecularMaterialSource | Gets or sets the specular color source for lighting calculations. | |
StencilEnable | Retrieves or sets stencil enabling. | |
StencilFail | Gets or sets the stencil operation to perform if the stencil test fails. | |
StencilFunction | Gets or sets the comparison function for the stencil test. | |
StencilMask | Retrieves or sets the mask applied to the reference value and each stencil buffer entry to determine the significant bits for the stencil test. | |
StencilPass | Retrieves or sets the stencil operation to perform if both the stencil test and the depth test (z-test) pass. | |
StencilWriteMask | Retrieves or sets the write mask applied to values written into the stencil buffer. | |
StencilZBufferFail | Retrieves or sets the stencil operation to perform if the stencil test passes and the depth test (z-test) fails. | |
TextureFactor | Retrieves or sets the color used for multiple-texture blending with the TFactor texture blending argument or the BlendFactorAlpha texture blending operation. | |
TexturePerspective | Enables perspective correct texturing. | |
UseWBuffer | Enables or disables w-buffering. | |
Wrap0 | Retrieves or sets the texture-wrapping behavior for multiple sets of texture coordinates. | |
Wrap1 | Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. | |
Wrap2 | Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. | |
Wrap3 | Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. | |
ZBufferEnable | Enables or disables depth buffering. | |
ZBufferFunction | Retrieves or sets the comparison function for the z-buffer test. | |
ZBufferWriteEnable | Enables or disables writing to the depth buffer. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) | |
GetHashCode | Serves as a hash function for a particular type. (inherited from Object) | |
GetType | Gets the Type of the current instance. (inherited from Object) | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) | |
ToString | Returns a String that represents the current Object. (inherited from Object) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Top
See Also
Reference
RenderStateManager Class
Microsoft.WindowsMobile.DirectX.Direct3D Namespace