Class SoBaseContextObject
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.devices.SoBaseContextObject
Context dependent object management class.
A helper base class used to store context dependent objects.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
ConstructorsConstructorDescriptionSoBaseContextObject
(SoDeviceContextSharedGroup sharedContextGroup) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the OpenGL context in which the OpenGL objects were created.void
release()
This function is called by the attached context when it has been requested to delete the context through the SoDeviceContext.dispose() method.Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Constructor Details
-
Method Details
-
release
public void release()This function is called by the attached context when it has been requested to delete the context through the SoDeviceContext.dispose() method. As some object might be still attached, it triggers all attached objectrelease()
method to ask them to detach (and then get it refcount to zero).
-