The GLObject type exposes the following members.

Constructors

  NameDescription
Public methodGLObject
Ctor.

Methods

  NameDescription
Public methodDispose
IDisposeable implementation. Sublasses that manage GL resources must override this method and call this method after freeing their resources. This method sets the disposed flag to true and the handle to 0.
Public methodStatic memberDisposeAll
Disposes all currently active objects.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyDisposed
Gets whether this object was disposed.
Public propertyError
Gets or sets (protected) the last GL error that occured (or NoError) while working with this object.
Public propertyHandle
Gets or sets (protected) the bandle to the (primary) GL resource encapsulated by this object.

See Also