DepthStencilState

class DepthStencilState : GraphicsResource, System.IDisposable
DepthStencilState Default
DepthStencilState DepthRead
DepthStencilState None
bool DepthBufferEnable
bool DepthBufferWriteEnable
StencilOperation CounterClockwiseStencilDepthBufferFail
StencilOperation CounterClockwiseStencilFail
CompareFunction CounterClockwiseStencilFunction
StencilOperation CounterClockwiseStencilPass
CompareFunction DepthBufferFunction
int ReferenceStencil
StencilOperation StencilDepthBufferFail
bool StencilEnable
StencilOperation StencilFail
CompareFunction StencilFunction
int StencilMask
StencilOperation StencilPass
int StencilWriteMask
bool TwoSidedStencilMode
void BindToGraphicsDevice(GraphicsDevice device)
Parameters:
  • device (Microsoft.Xna.Framework.Graphics.GraphicsDevice) –
void ThrowIfBound()
DepthStencilState Clone()
void GraphicsDeviceResetting()
void PlatformApplyState(GraphicsDevice device)
Parameters:
  • device (Microsoft.Xna.Framework.Graphics.GraphicsDevice) –