Represents an OpenGL object. Implements IDisposeable: once the object is disposed, all public properties and methods besides Dispose(), Disposed and Error throw a ObjectDisposedException when called. When an exception occurs during initialization, the GLObject disposes itself before throwing an exception. GLObject has no finalizer because GL is not available in the finalizer thread. Dispose manually and call DisposeAll() before the program exists.

Namespace: HighGL
Assembly: HighGL (in HighGL.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public abstract class GLObject : IDisposable
Visual Basic
Public MustInherit Class GLObject _
	Implements IDisposable
Visual C++
public ref class GLObject abstract : IDisposable

Inheritance Hierarchy

See Also