DesktopOpenGLSurface.ContextHandle

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As Integer )
IntegerValue = aOpenGLSurface.ContextHandle

New in 2021r3

Supported for all project types and targets.

Returns a handle to the underlying OpenGL context.


Example

The following gets a handle to the OpenGLSurface:

Var i As Integer
i = Me.ContextHandle