Method

MaplibreNativeFfiAcquiredFrameget_open_gl_texture

Declaration [src]

MaplibreNativeFfiOpenGlTextureFrame*
maplibre_native_ffi_acquired_frame_get_open_gl_texture (
  MaplibreNativeFfiAcquiredFrame* self
  GError** error
)

Description [src]

Gets the OpenGL texture of an acquired frame.

See mln_acquired_frame_get_open_gl_texture in the C API reference.

It fails with these errors:

  • MAPLIBRE_NATIVE_FFI_ERROR_TARGET_LOST when the session failed, or you detached, abandoned, or disposed it.

Return value

The caller of the method takes ownership of the returned data, and is responsible for freeing it.