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.
  • Field Details

    • shareContext

      public final SoGLContext shareContext
      Handle on OpenGL context.
  • Constructor Details

    • SbGLShareContext

      public SbGLShareContext(SbGLShareContext copyFrom)
    • SbGLShareContext

      public SbGLShareContext(SoGLContext shareContext, int shareContextID)
    • SbGLShareContext

      public SbGLShareContext()
  • Method Details

    • toArray

      public static SbGLShareContext[] toArray(long nativeArray, long length)
    • getContext

      public SoGLContext getContext()
    • getContextGroupId

      public int getContextGroupId()
    • setValue

      public void setValue(SbGLShareContext copyFrom)