Class DepthStencilState
public class DepthStencilState : GraphicsResource, IDisposable
- Inheritance
-
DepthStencilState
- Implements
- Inherited Members
Constructors
DepthStencilState()
public DepthStencilState()
Fields
Default
public static readonly DepthStencilState Default
Field Value
DepthRead
public static readonly DepthStencilState DepthRead
Field Value
None
public static readonly DepthStencilState None
Field Value
Properties
CounterClockwiseStencilDepthBufferFail
public StencilOperation CounterClockwiseStencilDepthBufferFail { get; set; }
Property Value
CounterClockwiseStencilFail
public StencilOperation CounterClockwiseStencilFail { get; set; }
Property Value
CounterClockwiseStencilFunction
public CompareFunction CounterClockwiseStencilFunction { get; set; }
Property Value
CounterClockwiseStencilPass
public StencilOperation CounterClockwiseStencilPass { get; set; }
Property Value
DepthBufferEnable
public bool DepthBufferEnable { get; set; }
Property Value
DepthBufferFunction
public CompareFunction DepthBufferFunction { get; set; }
Property Value
DepthBufferWriteEnable
public bool DepthBufferWriteEnable { get; set; }
Property Value
ReferenceStencil
public int ReferenceStencil { get; set; }
Property Value
StencilDepthBufferFail
public StencilOperation StencilDepthBufferFail { get; set; }
Property Value
StencilEnable
public bool StencilEnable { get; set; }
Property Value
StencilFail
public StencilOperation StencilFail { get; set; }
Property Value
StencilFunction
public CompareFunction StencilFunction { get; set; }
Property Value
StencilMask
public int StencilMask { get; set; }
Property Value
StencilPass
public StencilOperation StencilPass { get; set; }
Property Value
StencilWriteMask
public int StencilWriteMask { get; set; }
Property Value
TwoSidedStencilMode
public bool TwoSidedStencilMode { get; set; }
Property Value
Methods
Dispose(bool)
The method that derived classes should override to implement disposing of managed and native resources.
protected override void Dispose(bool disposing)
Parameters
disposing
boolTrue if managed objects should be disposed.
Remarks
Native resources should always be released regardless of the value of the disposing parameter.