Table of Contents

Class RasterizerState

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll
public class RasterizerState : GraphicsResource, IDisposable
Inheritance
RasterizerState
Implements
Inherited Members

Constructors

RasterizerState()

public RasterizerState()

Fields

CullClockwise

public static readonly RasterizerState CullClockwise

Field Value

RasterizerState

CullCounterClockwise

public static readonly RasterizerState CullCounterClockwise

Field Value

RasterizerState

CullNone

public static readonly RasterizerState CullNone

Field Value

RasterizerState

Properties

CullMode

public CullMode CullMode { get; set; }

Property Value

CullMode

DepthBias

public float DepthBias { get; set; }

Property Value

float

DepthClipEnable

public bool DepthClipEnable { get; set; }

Property Value

bool

FillMode

public FillMode FillMode { get; set; }

Property Value

FillMode

MultiSampleAntiAlias

public bool MultiSampleAntiAlias { get; set; }

Property Value

bool

ScissorTestEnable

public bool ScissorTestEnable { get; set; }

Property Value

bool

SlopeScaleDepthBias

public float SlopeScaleDepthBias { get; set; }

Property Value

float

Methods

Dispose(bool)

The method that derived classes should override to implement disposing of managed and native resources.

protected override void Dispose(bool disposing)

Parameters

disposing bool

True if managed objects should be disposed.

Remarks

Native resources should always be released regardless of the value of the disposing parameter.