Tesla Graphics Engine Documentation (January 2012)
RasterizerState Class
TeslaTesla.GraphicsRasterizerState
RasterizerState object that controls how 3D geometry is rasterized.
Declaration Syntax
C#
public class RasterizerState : RenderState
Members
All Members Constructors Methods Properties



Icon Member Description
RasterizerState()()()()
Creates a new instance of RasterizerState with default values.

RasterizerState(IRenderSystemProvider)
Creates a new instance of RasterizerState with default values.

BindRenderState()()()()
Binds the rasterizer state to the graphics pipeline.
(Overrides RenderState.BindRenderState()()()().)
Cull
Get or set how primitives are to be culled. Default is Back.

CullBackClockwiseFront
Gets a built-in state object where back faces are culled and front faces have a clockwise vertex winding. This is the default state.

CullBackCounterClockwiseFront
Gets a built-in state object where back faces are culled and front faces have a counterclockwise vertex winding.

CullNone
Gets a built-in state object where culling is disabled.

CullNoneWireframe
Gets a built-in state object where culling is disabled and fillmode is wireframe.

DepthBias
Get or set the depth bias. Default is zero.

Dispose()()()()
Dispose the resource.
(Inherited from GraphicsResource.)
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Inherited from GraphicsResource.)
EnableMultiSampleAntiAlias
Get or set if multi sampling anti aliasing should be enabled. Default is true.

EnableScissorTest
Get or set if scissor testing should be enabled. Default is false.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Fill
Get or set the fill mode of a primitive. Default is Solid.

Finalize()()()()
Releases unmanaged resources and performs other cleanup operations before the RasterizerState is reclaimed by garbage collection.
(Overrides GraphicsResource.Finalize()()()().)
GetHashCode()()()()
Returns a hash code for this instance.
(Overrides Object.GetHashCode()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Implementation
Get the underlying state object that is bound to the graphics pipeline.
(Overrides GraphicsResource.Implementation.)
IsBound
Get if this render state has been bound to the pipeline.
(Overrides RenderState.IsBound.)
IsDisposed
Gets if the resource's implementation has been disposed.
(Inherited from GraphicsResource.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Get or sets the name of this resource.
(Inherited from GraphicsResource.)
Read(ISavableReader)
Deserializes the object and populates it from the input.
(Overrides RenderState.Read(ISavableReader).)
RenderStateKey
Gets the RenderStateKey that is used to compare this state to another state.
(Overrides RenderState.RenderStateKey.)
RenderSystem
Gets or protected sets the render system that created this resource.
(Inherited from GraphicsResource.)
ResourceID
Gets or sets the ResourceID of this resource. Can only be set once, usually by the renderer.
(Inherited from GraphicsResource.)
SlopeScaledDepthBias
Get or set the slope scaled depth bias. Default is zero.

StateType
Get the enumeration describing this render state.
(Overrides RenderState.StateType.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
VertexWinding
Get or set the vertex winding of a primitive (front face). Default is CounterClockwise.

Write(ISavableWriter)
Serializes the object and writes it to the output.
(Overrides RenderState.Write(ISavableWriter).)
Inheritance Hierarchy
Object
GraphicsResource
  RenderState
    RasterizerState

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