RenderStateManager Members

Defines device render states.

The following tables list the members exposed by the RenderStateManager type.

Public Properties

  Name Description
Public property Supported by the .NET Compact Framework AlphaBlendEnable Retrieves or sets a value to enable alpha-blended transparency.
Public property Supported by the .NET Compact Framework AlphaFunction Retrieves or sets the comparison function for the alpha test.
Public property Supported by the .NET Compact Framework AlphaTestEnable Retrieves or sets a render state that enables a per-pixel alpha test.
Public property Supported by the .NET Compact Framework Ambient Retrieves or sets the ambient light color.
Public property Supported by the .NET Compact Framework AmbientMaterialSource Retrieves or sets the ambient color source for lighting calculations.
Public property Supported by the .NET Compact Framework BlendOperation Retrieves or sets a value to select the arithmetic operation to apply when AlphaBlendEnable is set to true.
Public property Supported by the .NET Compact Framework Clipping Retrieves or sets a value to enable primitive clipping by Direct3D.
Public property Supported by the .NET Compact Framework ColorVertex Retrieves or sets a value to enable or disable per-vertex color.
Public property Supported by the .NET Compact Framework ColorWriteEnable Retrieves or sets a value that enables a per-channel write for the render target color buffer.
Public property Supported by the .NET Compact Framework CullMode Specifies how back-facing triangles are culled, if at all.
Public property Supported by the .NET Compact Framework DepthBias Sets or retrieves the depth bias for polygons.
Public property Supported by the .NET Compact Framework DestinationBlend Contains a member of the Blend enumeration that represents the destination blend.
Public property Supported by the .NET Compact Framework DiffuseMaterialSource Retrieves or sets the diffuse color source for lighting calculations.
Public property Supported by the .NET Compact Framework DitherEnable Enables or disables dithering.
Public property Supported by the .NET Compact Framework FillMode Represents the fill mode.
Public property Supported by the .NET Compact Framework FogColor Retrieves or sets the fog color.
Public property Supported by the .NET Compact Framework FogDensity Retrieves or sets the fog density for pixel or vertex fog used in exponential fog modes.
Public property Supported by the .NET Compact Framework FogEnable Enables or disables fog blending.
Public property Supported by the .NET Compact Framework FogEnd Retrieves or sets the depth at which pixel or vertex fog effects end for linear fog mode.
Public property Supported by the .NET Compact Framework FogStart Retrieves or sets the depth at which pixel or vertex fog effects begin for linear fog mode.
Public property Supported by the .NET Compact Framework FogTableMode Retrieves or sets the fog formula to use for pixel fog.
Public property Supported by the .NET Compact Framework FogVertexMode Retrieves or sets the fog formula to use for vertex fog.
Public property Supported by the .NET Compact Framework LastPixel Enables or disables drawing of the last pixel in a line.
Public property Supported by the .NET Compact Framework Lighting Enables or disables Direct3D lighting.
Public property Supported by the .NET Compact Framework LocalViewer Specifies whether to use camera-relative specular highlights or orthogonal specular highlights.
Public property Supported by the .NET Compact Framework NormalizeNormals Enables or disables automatic normalization of vertex normals.
Public property Supported by the .NET Compact Framework RangeFogEnable Retrieves or sets enabling of range-based vertex fog.
Public property Supported by the .NET Compact Framework ReferenceAlpha Specifies a reference alpha value against which pixels are tested when alpha testing is enabled.
Public property Supported by the .NET Compact Framework ReferenceStencil Specifies a reference value to use for the stencil test.
Public property Supported by the .NET Compact Framework ShadeMode Gets or sets the supported shading mode.
Public property Supported by the .NET Compact Framework SlopeScaleDepthBias Retrieves or sets a value used to determine how much bias can be applied to coplanar primitives to reduce flimmering z-fighting.
Public property Supported by the .NET Compact Framework SourceBlend Gets or sets the color blending mode.
Public property Supported by the .NET Compact Framework SpecularEnable Retrieves or sets a render state that enables specular highlights.
Public property Supported by the .NET Compact Framework SpecularMaterialSource Gets or sets the specular color source for lighting calculations.
Public property Supported by the .NET Compact Framework StencilEnable Retrieves or sets stencil enabling.
Public property Supported by the .NET Compact Framework StencilFail Gets or sets the stencil operation to perform if the stencil test fails.
Public property Supported by the .NET Compact Framework StencilFunction Gets or sets the comparison function for the stencil test.
Public property Supported by the .NET Compact Framework 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.
Public property Supported by the .NET Compact Framework StencilPass Retrieves or sets the stencil operation to perform if both the stencil test and the depth test (z-test) pass.
Public property Supported by the .NET Compact Framework StencilWriteMask Retrieves or sets the write mask applied to values written into the stencil buffer.
Public property Supported by the .NET Compact Framework StencilZBufferFail Retrieves or sets the stencil operation to perform if the stencil test passes and the depth test (z-test) fails.
Public property Supported by the .NET Compact Framework TextureFactor Retrieves or sets the color used for multiple-texture blending with the TFactor texture blending argument or the BlendFactorAlpha texture blending operation.
Public property Supported by the .NET Compact Framework TexturePerspective Enables perspective correct texturing.
Public property Supported by the .NET Compact Framework UseWBuffer Enables or disables w-buffering.
Public property Supported by the .NET Compact Framework Wrap0 Retrieves or sets the texture-wrapping behavior for multiple sets of texture coordinates.
Public property Supported by the .NET Compact Framework Wrap1 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates.
Public property Supported by the .NET Compact Framework Wrap2 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates.
Public property Supported by the .NET Compact Framework Wrap3 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates.
Public property Supported by the .NET Compact Framework ZBufferEnable Enables or disables depth buffering.
Public property Supported by the .NET Compact Framework ZBufferFunction Retrieves or sets the comparison function for the z-buffer test.
Public property Supported by the .NET Compact Framework ZBufferWriteEnable Enables or disables writing to the depth buffer.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework 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)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Top

See Also

Reference

RenderStateManager Class
Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Direct3D Programming