Table of Contents

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

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 DepthStencilState

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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.