Method

MaplibreNativeFfiAcquiredFramediscard

Declaration [src]

gboolean
maplibre_native_ffi_acquired_frame_discard (
  MaplibreNativeFfiAcquiredFrame* self
  GError** error
)

Description [src]

Gives up an acquired frame without saying when your GPU stops reading it.

Because your GPU may still read the frame’s texture, the session never renders into that texture again.

The object calls this when it is disposed, unless it was released or discarded. Later calls fail as on any released handle.

See mln_acquired_frame_discard in the C API reference.

Return value

Type: gboolean

TRUE on success, or FALSE with error set.