DepthStencilState.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 disposing
)

Parameters

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

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP