Tesla Graphics Engine Documentation (January 2012)
DepthStencilStateImplementation Class
TeslaTesla.Graphics.ImplementationDepthStencilStateImplementation
Abstract class for concrete subclasses to provide the underlying implementation of DepthStencilState.
Declaration Syntax
C#
public abstract class DepthStencilStateImplementation : GraphicsResourceImplementation
Members
All Members Constructors Methods Properties



Icon Member Description
DepthStencilStateImplementation()()()()
Creates a new instance of DepthStencilStateImplementation.

BindDepthStencilState()()()()
Binds the implementation. This is called the first time an unbound state is set to the device or manually by the user in order to create the underlying state ahead of time (best practice). Once called the state properties are read-only.

CounterClockwiseStencilDepthFail
Gets or sets the stencil operation done when the stencil test passes, but the depth test fails for a counterclockwise triangle.

CounterClockwiseStencilFail
Gets or sets the stencil operation done when the stencil test fails for a counterclockwise triangle.

CounterClockwiseStencilFunction
Gets or sets the comparison function used for testing a counterclockwise triangle.

CounterClockwiseStencilPass
Gets or sets the stencil operation done when the stencil test passes for a counterclockwise triangle.

DepthEnable
Gets or sets if the depth buffer should be enabled.

DepthFunction
Gets or sets the depth comparison function for the depth test.

DepthWriteEnable
Gets or sets if the depth buffer should be writable.

Dispose()()()()
Disposes the underlying implementation.
(Inherited from GraphicsResourceImplementation.)
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Inherited from GraphicsResourceImplementation.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Releases unmanaged resources and performs other cleanup operations before the GraphicsResourceImplementation is reclaimed by garbage collection.
(Inherited from GraphicsResourceImplementation.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsBound
Gets or protected sets if this DepthStencilStateImplementation has been bound to the pipeline and its underlying objects created.

IsDisposed
Gets if the resource has been disposed.
(Inherited from GraphicsResourceImplementation.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Gets or sets the name of this resource.
(Inherited from GraphicsResourceImplementation.)
ReferenceStencil
Gets or sets the reference stencil value used for stencil testing.

ResourceID
Gets or sets the resource ResourceID. It can only be set once, usually by the renderer.
(Inherited from GraphicsResourceImplementation.)
StencilDepthFail
Gets or sets the stencil operation done when the stencil test passes but the depth test fails for a clockwise triangle.

StencilEnable
Gets or sets if the stencil buffer should be enabled.

StencilFail
Gets or sets the stencil operation done when the stencil test fails for a clockwise triangle.

StencilFunction
Gets or sets the comparison function used for testing a clockwise triangle.

StencilPass
Gets or sets the stencil operation done when the stencil test passes for a clockwise triangle.

StencilReadMask
Gets or sets the value that identifies a portion of the depth-stencil buffer for reading stencil data.

StencilWriteMask
Gets or sets the value that identifies a portion of the depth-stencil buffer for writing stencil data.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
TwoSidedStencilEnable
Gets or sets if two sided stenciling should be enabled, that is if counterclockwise stencil testing/operations should be conducted.

Inheritance Hierarchy

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)