Mac Guides | Samples

MonoMac.OpenGL.CGLPixelFormat.Dispose Method

Releases the resourced used by the CGLPixelFormat object.

Syntax

public Void Dispose ()

Remarks

The Dispose method releases the resources used by the CGLPixelFormat class.

Calling the Dispose method when you are finished using the CGLPixelFormat ensures that all external resources used by this managed object are released as soon as possible. Once you have invoked the Dispose method, the object is no longer useful and you should no longer make any calls to it. For more information on releasing resources see ``Cleaning up Unmananaged Resources'' at http://msdn.microsoft.com/en-us/library/498928w2.aspx

Requirements

Namespace: MonoMac.OpenGL
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0