The GLObject type exposes the following members.
Constructors
Name | Description | |
---|---|---|
GLObject |
Ctor.
|
Methods
Name | Description | |
---|---|---|
Dispose |
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.
| |
DisposeAll |
Disposes all currently active objects.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Disposed |
Gets whether this object was disposed.
| |
Error |
Gets or sets (protected) the last GL error that occured (or NoError) while working with this object.
| |
Handle |
Gets or sets (protected) the bandle to the (primary) GL resource encapsulated by this object.
|