Click or drag to resize
SoGLContext Methods

The SoGLContext type exposes the following members.

Methods
  NameDescription
Public methodAssertContext

Assert this context and the current active context are the same.

Public methodBind

Bind this context to the current thread.

(Inherited from SoDeviceContext.)
Public methodDispose
Releases all resources used by SoDisposable.
(Inherited from SoDisposable.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGetContextFromId

Returns the context corresponding to an internal id.

Public methodStatic memberGetContextFromSharedId

Returns the first context that belongs to the specified sharedIdGroup.

Public methodGetContextGraphicsCapabilities

Retrieve graphics capabilities from this context.

Public methodStatic memberGetCurrent
Calls GetCurrent(false).
Public methodStatic memberGetCurrent(Boolean)

Returns the current active OpenGL context (if any).

Public methodGetFormat
Public methodStatic memberGetGraphicsCapabilities

Retrieve graphics capabilities from the current bound context, if any.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetId

Returns the internal id for this context.

Public methodGetSharedGroup

Returns the current shared group.

(Inherited from SoDeviceContext.)
Public methodStatic memberGetSharedGroupPolicy

Returns the current sharedGroupPolicy.

Public methodGetSharedId

Returns an id common to all compatible/shared contexts.

(Inherited from SoDeviceContext.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvalidate

Set this context as invalid so it won't be used anymore.

Public methodIsCompatible

Returns true if two contexts are compatible.

(Inherited from SoDeviceContext.)
Public methodIsCurrent

Returns true if the context is valid and currently active.

(Inherited from SoDeviceContext.)
Public methodIsSharable

Returns the sharable status of this context.

(Inherited from SoDeviceContext.)
Public methodIsSharedWith

Returns the current sharing state with passed context.

(Inherited from SoDeviceContext.)
Public methodIsValid

Returns true if this context is valid.

(Inherited from SoDeviceContext.)
Public methodIsValidForCurrent

Returns true if the context is the current active context or if it is shared with the current active context.

Public methodSetNoGLContextDelete

Prevent deletion of the native OpenGL context by OIV.Inventor.Devices.SoGLContext.

Public methodSetSharable

Sets the sharable property.

(Inherited from SoDeviceContext.)
Public methodSetSharedGroup

Explicitly change the sharedGroup.

(Inherited from SoDeviceContext.)
Public methodSetSharedWith

Share this context.

(Inherited from SoDeviceContext.)
Public methodSwapBuffers

Swaps the buffers with the value stored in the OIV.Inventor.Devices.SoGLFormat, which is set to the main plane by default.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryBind

Try to bind the OpenGL context to the current thread.

Public methodUnbind

Unbind this context from the current thread.

(Inherited from SoDeviceContext.)
Top
See Also