Class SbGLShareContext
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.helpers.SbGLShareContext
-
public class SbGLShareContext extends Inventor
Class encapsulating information about an OpenGL context: a handle on an OpenGL context and its id.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoGLContextshareContextHandle on OpenGL context.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SbGLShareContext()SbGLShareContext(SoGLContext shareContext, int shareContextID)SbGLShareContext(SbGLShareContext copyFrom)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SoGLContextgetContext()intgetContextGroupId()voidsetValue(SbGLShareContext copyFrom)static SbGLShareContext[]toArray(long nativeArray, long length)-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Field Detail
-
shareContext
public final SoGLContext shareContext
Handle on OpenGL context.
-
-
Constructor Detail
-
SbGLShareContext
public SbGLShareContext(SbGLShareContext copyFrom)
-
SbGLShareContext
public SbGLShareContext(SoGLContext shareContext, int shareContextID)
-
SbGLShareContext
public SbGLShareContext()
-
-
Method Detail
-
toArray
public static SbGLShareContext[] toArray(long nativeArray, long length)
-
getContext
public SoGLContext getContext()
-
getContextGroupId
public int getContextGroupId()
-
setValue
public void setValue(SbGLShareContext copyFrom)
-
-