RasterizerState.Dispose Method (Boolean)

Immediately releases the unmanaged resources used by this object.

Syntax

'Declaration
Protected Overrides Sub Dispose ( _
         disposing As Boolean _
)
protected override void Dispose (
         bool disposing
)
protected:
void Dispose(
         bool disposing
) override

Parameters

  • disposing
    Type: Boolean
    [MarshalAsAttribute(U1)] true to release both managed and unmanaged resources; false to release only unmanaged resources.

Requirements

Namespace: Microsoft.Xna.Framework.Graphics

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

See Also

Reference

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

Platforms

Windows Phone