Class DepthStencilState
- Namespace
- Pie
- Assembly
- Pie.dll
Used to tell the graphics device how to handle depth information.
public abstract class DepthStencilState : IDisposable, IEquatable<DepthStencilState>
- Inheritance
-
DepthStencilState
- Implements
- Inherited Members
Properties
Description
Get the DepthStencilStateDescription for this DepthStencilState.
public abstract DepthStencilStateDescription Description { get; }
Property Value
- DepthStencilStateDescription
- Used to tell the graphics device how to handle depth information.
IsDisposed
Will return true when this DepthStencilState has been disposed.
public abstract bool IsDisposed { get; protected set; }
Property Value
- bool
- Used to tell the graphics device how to handle depth information.
Methods
Dispose()
Dispose of this DepthStencilState.
public abstract void Dispose()
Equals(DepthStencilState)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(DepthStencilState other)
Parameters
other
DepthStencilStateAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Operators
operator ==(DepthStencilState, DepthStencilState)
public static bool operator ==(DepthStencilState left, DepthStencilState right)
Parameters
left
DepthStencilState- Used to tell the graphics device how to handle depth information.
right
DepthStencilState- Used to tell the graphics device how to handle depth information.
Returns
- bool
- Used to tell the graphics device how to handle depth information.
operator !=(DepthStencilState, DepthStencilState)
public static bool operator !=(DepthStencilState left, DepthStencilState right)
Parameters
left
DepthStencilState- Used to tell the graphics device how to handle depth information.
right
DepthStencilState- Used to tell the graphics device how to handle depth information.
Returns
- bool
- Used to tell the graphics device how to handle depth information.