Share via


RasterizerState.Dispose Method (Boolean)

Immediately releases the unmanaged resources used by this object.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

Syntax

protected override void Dispose (
         bool 
)

Parameters

  • **
    [MarshalAsAttribute(U1)] true to release both managed and unmanaged resources; false to release only unmanaged resources.

See Also

Reference

RasterizerState Class
RasterizerState Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7