Property

MaplibreNativeFfiOffscreenDeviceOptions:client-api

Declaration

property client-api: MaplibreNativeFfi.OpenGlClientApi [ read, write ]

Description [src]

The OpenGL API that the device’s sessions render with. An EGL device defaults to MAPLIBRE_NATIVE_FFI_OPEN_GL_CLIENT_API_GLES, and takes MAPLIBRE_NATIVE_FFI_OPEN_GL_CLIENT_API_GL too on Linux and FreeBSD. A WGL device takes only MAPLIBRE_NATIVE_FFI_OPEN_GL_CLIENT_API_GL, its default, and a WebGL device only MAPLIBRE_NATIVE_FFI_OPEN_GL_CLIENT_API_GLES, its default. Other devices take neither.

Default valueMAPLIBRE_NATIVE_FFI_OPEN_GL_CLIENT_API_UNSPECIFIED
Getter methodmaplibre_native_ffi_offscreen_device_options_get_client_api()
Setter methodmaplibre_native_ffi_offscreen_device_options_set_client_api()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno