Struct

MaplibreNativeFfiRenderingStats

Description [src]

struct MaplibreNativeFfiRenderingStats {
  gdouble encoding_time_ms;
  gdouble rendering_time_ms;
  gint64 frame_count;
  gint64 draw_call_count;
  gint64 total_draw_call_count;
}

Statistics about the frames that a map renders.

See mln_rendering_stats in the C API reference.

Structure members
encoding_time_ms: gdouble

The time that the frame took to encode, in milliseconds.

rendering_time_ms: gdouble

The time that the frame took to render, in milliseconds.

frame_count: gint64

The frames rendered so far.

draw_call_count: gint64

The draw calls in the frame.

total_draw_call_count: gint64

The draw calls in every frame so far.

Instance methods