SoMPEGRendererSetShareContext Method |
Sets the OpenGL context to be shared by the OIV.Inventor.MPEG.SoMPEGRenderer.
Namespace: OIV.Inventor.MPEG
Its use is strongly recommended, because it can improve performance when switching between on-screen and off-screen rendering. This is because it allows the display lists and texture objects to be shared between the on-screen and off-screen render context. The shared context info is normally obtained by calling the viewer's getShareContext method.
NOTE: It has no effect when the hardware (or driver) does not allow sharing with the off-screen context, for example if Pbuffers are not supported.