Enumeration

MaplibreNativeFfiRenderResult

Declaration

enum MaplibreNativeFfi.RenderResult

Description [src]

How a frame demand finished.

See mln_render_result in the C API reference.

Members

MAPLIBRE_NATIVE_FFI_RENDER_RESULT_RENDERED

No description available.

  • Value: 0
  • Available since: 0
MAPLIBRE_NATIVE_FFI_RENDER_RESULT_NO_UPDATE

The map had nothing new to draw.

  • Value: 1
  • Available since: 0
MAPLIBRE_NATIVE_FFI_RENDER_RESULT_TARGET_NOT_READY

The target couldn’t take a frame, such as while a window is hidden or destroyed, or after maplibre_native_ffi_render_session_release_target_async(). Demand a frame again later.

  • Value: 2
  • Available since: 0
MAPLIBRE_NATIVE_FFI_RENDER_RESULT_SUPERSEDED

A later demand with the same flags replaced this one.

  • Value: 3
  • Available since: 0
MAPLIBRE_NATIVE_FFI_RENDER_RESULT_FAILED

The session failed, and maplibre_native_ffi_render_session_get_failure() reports why. Once maplibre_native_ffi_render_session_release_async() completes, you can attach a new session.

  • Value: 4
  • Available since: 0