Mac Guides | Samples

MonoMac.OpenGL.CGLPixelFormat.Dispose Method

Releases the resourced used by the CGLPixelFormat object.


public Void Dispose ()


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


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