SoPBufferGetContext Method |
Gets OpenGL render context Only valid if a Pbuffer has been successfully created.
Namespace: OIV.InventorAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public SoGLContext GetContext()
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Function GetContext As SoGLContext
public:
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
SoGLContext^ GetContext()
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
member GetContext : unit -> SoGLContext
Return Value
Type:
SoGLContext
RemarksOn UNIX systems the returned value is a GLXContext. On Win32 systems the returned value is an HGLRC.
See Also