Enumeration

MaplibreNativeFfiOpenGlContextOwnership

Declaration

enum MaplibreNativeFfi.OpenGlContextOwnership

Description [src]

Whether a render session’s OpenGL context shares objects with yours.

See mln_open_gl_context_ownership in the C API reference.

Members

MAPLIBRE_NATIVE_FFI_OPEN_GL_CONTEXT_OWNERSHIP_SHARED

The session’s context shares objects with your share_context.

  • Value: 0
  • Available since: 0
MAPLIBRE_NATIVE_FFI_OPEN_GL_CONTEXT_OWNERSHIP_DEDICATED

The session’s context shares objects with no other context.

  • Value: 1
  • Available since: 0