Table of Contents

Class RasterizerState

Namespace
Pie
Assembly
Pie.dll

Used to tell the graphics device how to raster triangles.

public abstract class RasterizerState : IDisposable, IEquatable<RasterizerState>
Inheritance
RasterizerState
Implements
Inherited Members

Properties

Description

public abstract RasterizerStateDescription Description { get; }

Property Value

RasterizerStateDescription
Used to tell the graphics device how to raster triangles.

IsDisposed

Will return true when this rasterizer state has been disposed.

public abstract bool IsDisposed { get; protected set; }

Property Value

bool
Used to tell the graphics device how to raster triangles.

Methods

Dispose()

Dispose of this RasterizerState.

public abstract void Dispose()

Equals(RasterizerState)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(RasterizerState other)

Parameters

other RasterizerState

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 ==(RasterizerState, RasterizerState)

public static bool operator ==(RasterizerState left, RasterizerState right)

Parameters

left RasterizerState
Used to tell the graphics device how to raster triangles.
right RasterizerState
Used to tell the graphics device how to raster triangles.

Returns

bool
Used to tell the graphics device how to raster triangles.

operator !=(RasterizerState, RasterizerState)

public static bool operator !=(RasterizerState left, RasterizerState right)

Parameters

left RasterizerState
Used to tell the graphics device how to raster triangles.
right RasterizerState
Used to tell the graphics device how to raster triangles.

Returns

bool
Used to tell the graphics device how to raster triangles.