RhinoCommon API
DisplayPipelineAvailableOpenGLVersion Method |
If Rhino is using OpenGL for display, this function will return
major.minor version of OpenGL available for this instance of Rhino
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.21

public static uint AvailableOpenGLVersion( out bool coreProfile )
Public Shared Function AvailableOpenGLVersion ( <OutAttribute> ByRef coreProfile As Boolean ) As UInteger
Parameters
- coreProfile
- Type: SystemBoolean
If true, OpenGL is being used in "core profile" mode
Return Value
Type: UInt32major version * 10 + minor version For example, OpenGL 4.5 returns 45
