DepthStencilState Members
The following tables list the members exposed by the DepthStencilState type.
| Name | Description | |
|---|---|---|
![]() | DepthStencilState | Creates an instance of DepthStencilState with default values. |
| Name | Description | |
|---|---|---|
![]() | 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. |
![]() | CounterClockwiseStencilFail | Gets or sets the stencil operation to perform if the stencil test fails for a counterclockwise triangle. The default is StencilOperation.Keep. |
![]() | CounterClockwiseStencilFunction | Gets or sets the comparison function to use for counterclockwise stencil tests. The default is CompareFunction.Always. |
![]() | CounterClockwiseStencilPass | Gets or sets the stencil operation to perform if the stencil and depth-tests pass for a counterclockwise triangle. The default is StencilOperation.Keep. |
![]() | DepthBufferEnable | Enables or disables depth buffering. The default is true. |
![]() | DepthBufferFunction | Gets or sets the comparison function for the depth-buffer test. The default is CompareFunction.LessEqual |
![]() | DepthBufferWriteEnable | Enables or disables writing to the depth buffer. The default is true. |
![]() | GraphicsDevice | (Inherited from GraphicsResource.) |
![]() | IsDisposed | (Inherited from GraphicsResource.) |
![]() | Name | (Inherited from GraphicsResource.) |
![]() | ReferenceStencil | Specifies a reference value to use for the stencil test. The default is 0. |
![]() | StencilDepthBufferFail | Gets or sets the stencil operation to perform if the stencil test passes and the depth-test fails. The default is StencilOperation.Keep. |
![]() | StencilEnable | Gets or sets stencil enabling. The default is false. |
![]() | StencilFail | Gets or sets the stencil operation to perform if the stencil test fails. The default is StencilOperation.Keep. |
![]() | StencilFunction | Gets or sets the comparison function for the stencil test. The default is CompareFunction.Always. |
![]() | 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. |
![]() | StencilPass | Gets or sets the stencil operation to perform if the stencil test passes. The default is StencilOperation.Keep. |
![]() | StencilWriteMask | Gets or sets the write mask applied to values written into the stencil buffer. The default mask is Int32.MaxValue. |
![]() | Tag | (Inherited from GraphicsResource.) |
![]() | TwoSidedStencilMode | Enables or disables two-sided stenciling. The default is false. |
| Name | Description | |
|---|---|---|
![]() | Dispose | Overloaded. Immediately releases the unmanaged resources used by this object. |
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | ToString | (Inherited from GraphicsResource.) |
| Name | Description | |
|---|---|---|
![]() | Finalize | (Inherited from GraphicsResource.) |
![]() | MemberwiseClone | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | Disposing | (Inherited from GraphicsResource.) |
Community Additions
ADD
Show:

