RenderState Members

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

Name Description
DirectX编程——RenderState(学习资料) AlphaBlendEnable Gets or sets a value to enable alpha-blended transparency. The default value is false.
DirectX编程——RenderState(学习资料) AlphaBlendOperation Gets or sets the arithmetic operation applied to separate alpha blending. The default is BlendFunction.Add.
DirectX编程——RenderState(学习资料) AlphaDestinationBlend Gets or sets the separate alpha channel blending factor. This factor represents a destination value by which to multiply the alpha channel only. The default is Blend.One.
DirectX编程——RenderState(学习资料) AlphaFunction Gets or sets the comparison function for the alpha test. The default is CompareFunction.Always.
DirectX编程——RenderState(学习资料) AlphaSourceBlend Gets or sets the separate alpha channel blending factor. This factor represents a value by which to multiply the alpha channel only. The default is Blend.One.
DirectX编程——RenderState(学习资料) AlphaTestEnable Gets or sets a render state that enables a per-pixel alpha test. The default value is false.
DirectX编程——RenderState(学习资料) BlendFactor Gets or sets the color used for a constant-blend factor during alpha blending. The default is Color.White.
DirectX编程——RenderState(学习资料) BlendFunction Gets or sets a value to select the arithmetic operation to apply to the source and destination pixel components when BlendFunction.Add.
DirectX编程——RenderState(学习资料) ColorWriteChannels Gets or sets a value that enables a per-channel write for the render target color buffer. The default value is ColorWriteChannels.None.
DirectX编程——RenderState(学习资料) ColorWriteChannels1 Gets or sets a value that enables a per-channel write for the render target color buffer. The default value is ColorWriteChannels.None.
DirectX编程——RenderState(学习资料) ColorWriteChannels2 Gets or sets a value that enables a per-channel write for the render target color buffer. The default value is ColorWriteChannels.None.
DirectX编程——RenderState(学习资料) ColorWriteChannels3 Gets or sets a value that enables a per-channel write for the render target color buffer. The default value is ColorWriteChannels.None.
DirectX编程——RenderState(学习资料) CounterClockwiseStencilDepthBufferFail Gets or sets the stencil operation to perform if the stencil test passes and the depth-buffer test fails for a counterclockwise triangle. The default is StencilOperation.Keep.
DirectX编程——RenderState(学习资料) CounterClockwiseStencilFail Gets or sets the stencil operation to perform if the stencil test fails for a counterclockwise triangle. The default is StencilOperation.Keep.
DirectX编程——RenderState(学习资料) CounterClockwiseStencilFunction Gets or sets the comparison function to use for counterclockwise stencil tests. The default is CompareFunction.Always.
DirectX编程——RenderState(学习资料) CounterClockwiseStencilPass Gets or sets the stencil operation to perform if the stencil and z-tests pass for a counterclockwise triangle. The default is StencilOperation.Keep.
DirectX编程——RenderState(学习资料) CullMode Specifies how back-facing triangles are culled, if at all. The default value is CullMode.CounterClockwise.
DirectX编程——RenderState(学习资料) DepthBias Sets or retrieves the depth bias for polygons. The default value is 0.
DirectX编程——RenderState(学习资料) DepthBufferEnable Enables or disables depth buffering. The default is true.
DirectX编程——RenderState(学习资料) DepthBufferFunction Gets or sets the comparison function for the depth-buffer test. The default is CompareFunction.LessEqual
DirectX编程——RenderState(学习资料) DepthBufferWriteEnable Enables or disables writing to the depth buffer. The default is true.
DirectX编程——RenderState(学习资料) DestinationBlend Gets or sets the color blending factor. This factor represents a value by which to multiply the destination pixel color before adding it to the source pixel to produce a color that is a blend of the two. The default is Blend.Zero.
DirectX编程——RenderState(学习资料) FillMode Represents the fill mode. The default is FillMode.Solid.
DirectX编程——RenderState(学习资料) FogColor Gets or sets the fog color. The default value is Color.TransparentBlack.
DirectX编程——RenderState(学习资料) FogDensity Gets or sets the fog density for pixel or vertex fog used in exponential fog modes. The default value is 1.0f.
DirectX编程——RenderState(学习资料) FogEnable Enables or disables fog blending. The default is false.
DirectX编程——RenderState(学习资料) FogEnd Gets or sets the depth at which pixel or vertex fog effects end for linear fog mode. The default value is 1.0f.
DirectX编程——RenderState(学习资料) FogStart Gets or sets the depth at which pixel or vertex fog effects begin for linear fog mode. The default value is 0.0f.
DirectX编程——RenderState(学习资料) FogTableMode Gets or sets the fog formula to use for pixel fog. The default is None.
DirectX编程——RenderState(学习资料) FogVertexMode Gets or sets the fog formula to use for vertex fog. The default is FogMode.None.
DirectX编程——RenderState(学习资料) MultiSampleAntiAlias Enables or disables multisample antialiasing. The default is true.
DirectX编程——RenderState(学习资料) MultiSampleMask Gets or sets a bitmask controlling modification of the samples in a multisample render target. The default is 0xffffffff.
DirectX编程——RenderState(学习资料) PointSize Gets or sets the size to use for point size computation in cases where point size is not specified for each vertex. The default value is the value a driver returns. If a driver returns 0 or 1, the default value is 64, which allows software point size emulation.
DirectX编程——RenderState(学习资料) PointSizeMax Gets or sets the maximum size of point primitives. The default is 64.0f.
DirectX编程——RenderState(学习资料) PointSizeMin Gets or sets the minimum size of point primitives. The default is 1.0f.
DirectX编程——RenderState(学习资料) PointSpriteEnable Enables or disables full texture mapping on each point. The default is false.
DirectX编程——RenderState(学习资料) RangeFogEnable Gets or sets enabling of range-based vertex fog. The default value is false.
DirectX编程——RenderState(学习资料) ReferenceAlpha Specifies a reference alpha value against which pixels are tested when alpha testing is enabled. The default value is 0.
DirectX编程——RenderState(学习资料) ReferenceStencil Specifies a reference value to use for the stencil test. The default is 0.
DirectX编程——RenderState(学习资料) ScissorTestEnable Enables or disables scissor testing. The default is false.
DirectX编程——RenderState(学习资料) SeparateAlphaBlendEnabled Enables or disables the separate blend mode for the alpha channel. The default is false.
DirectX编程——RenderState(学习资料) SlopeScaleDepthBias Gets or sets a value used to determine how much bias can be applied to coplanar primitives to reduce flimmering z-fighting. The default is 0.
DirectX编程——RenderState(学习资料) SourceBlend Gets or sets the color blending factor. This factor represents a value by which to multiply the source pixel color before adding it to the destination pixel to produce a color that is a blend of the two. The default is Blend.One.
DirectX编程——RenderState(学习资料) StencilDepthBufferFail Gets or sets the stencil operation to perform if the stencil test passes and the depth-test fails. The default is StencilOperation.Keep.
DirectX编程——RenderState(学习资料) StencilEnable Gets or sets stencil enabling. The default is false.
DirectX编程——RenderState(学习资料) StencilFail Gets or sets the stencil operation to perform if the stencil test fails. The default is StencilOperation.Keep.
DirectX编程——RenderState(学习资料) StencilFunction Gets or sets the comparison function for the stencil test. The default is CompareFunction.Always.
DirectX编程——RenderState(学习资料) StencilMask Gets or sets the mask applied to the reference value and each stencil buffer entry to determine the significant bits for the stencil test. The default mask is Int32.MaxValue.
DirectX编程——RenderState(学习资料) StencilPass Gets or sets the stencil operation to perform if the stencil test passes. The default is StencilOperation.Keep.
DirectX编程——RenderState(学习资料) StencilWriteMask Gets or sets the write mask applied to values written into the stencil buffer. The default mask is Int32.MaxValue.
DirectX编程——RenderState(学习资料) TwoSidedStencilMode Enables or disables two-sided stenciling. The default is false.
DirectX编程——RenderState(学习资料) Wrap0 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
DirectX编程——RenderState(学习资料) Wrap1 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
DirectX编程——RenderState(学习资料) Wrap10 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
DirectX编程——RenderState(学习资料) Wrap11 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
DirectX编程——RenderState(学习资料) Wrap12 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
DirectX编程——RenderState(学习资料) Wrap13 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
DirectX编程——RenderState(学习资料) Wrap14 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
DirectX编程——RenderState(学习资料) Wrap15 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
DirectX编程——RenderState(学习资料) Wrap2 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
DirectX编程——RenderState(学习资料) Wrap3 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
DirectX编程——RenderState(学习资料) Wrap4 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
DirectX编程——RenderState(学习资料) Wrap5 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
DirectX编程——RenderState(学习资料) Wrap6 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
DirectX编程——RenderState(学习资料) Wrap7 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
DirectX编程——RenderState(学习资料) Wrap8 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
DirectX编程——RenderState(学习资料) Wrap9 Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).
Name Description
DirectX编程——RenderState(学习资料) Equals (Inherited from Object.)
DirectX编程——RenderState(学习资料) GetHashCode (Inherited from Object.)
DirectX编程——RenderState(学习资料) GetType (Inherited from Object.)
DirectX编程——RenderState(学习资料) ReferenceEquals (Inherited from Object.)
DirectX编程——RenderState(学习资料) ToString Retrieves a string representation of this object.
Name Description
DirectX编程——RenderState(学习资料) Finalize (Inherited from Object.)
DirectX编程——RenderState(学习资料) MemberwiseClone (Inherited from Object.)

相关文章: