SoGLContext Methods |
The SoGLContext type exposes the following members.
Name | Description | |
---|---|---|
AssertContext | Assert this context and the current active context are the same. | |
Bind | Bind this context to the current thread. | |
Dispose |
Releases all resources used by SoDisposable.
(Inherited from SoDisposable.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetContextFromId | Returns the context corresponding to an internal id. | |
GetContextFromSharedId | Returns the first context that belongs to the specified sharedIdGroup. | |
GetContextGraphicsCapabilities | Retrieve graphics capabilities from this context. | |
GetCurrent | Calls GetCurrent(false). | |
GetCurrent(Boolean) | Returns the current active OpenGL context (if any). | |
GetFormat | Returns the OIV.Inventor.Devices.SoGLFormat associated to the OIV.Inventor.Devices.SoGLContext. | |
GetGraphicsCapabilities | Retrieve graphics capabilities from the current bound context, if any. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetId | Returns the internal id for this context. | |
GetSharedGroup | Returns the current shared group. | |
GetSharedGroupPolicy | Returns the current sharedGroupPolicy. | |
GetSharedId | Returns an id common to all compatible/shared contexts. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Invalidate | Set this context as invalid so it won't be used anymore. | |
IsCompatible | Returns true if two contexts are compatible. | |
IsCurrent | Returns true if the context is valid and currently active. | |
IsSharable | Returns the sharable status of this context. | |
IsSharedWith | Returns the current sharing state with passed context. | |
IsValid | Returns true if this context is valid. | |
IsValidForCurrent | Returns true if the context is the current active context or if it is shared with the current active context. | |
SetNoGLContextDelete | Prevent deletion of the native OpenGL context by OIV.Inventor.Devices.SoGLContext. | |
SetSharable | Sets the sharable property. | |
SetSharedGroup | Explicitly change the sharedGroup. | |
SetSharedWith | Share this context. | |
SwapBuffers | Swaps the buffers with the value stored in the OIV.Inventor.Devices.SoGLFormat, which is set to the main plane by default. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryBind | Try to bind the OpenGL context to the current thread. | |
Unbind | Unbind this context from the current thread. |