|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <render_session.h>
Data Fields | |
| uint32_t | state |
| mln_logical_extent | extent |
| uint64_t | generation |
| uint64_t | map_update_generation |
| uint64_t | rendered_update_generation |
| uint64_t | frame_generation |
| uint32_t | acquired_frame_count |
| bool | pending_changes |
Any-thread render-session snapshot.
| uint32_t mln_render_session_snapshot::acquired_frame_count |
Acquired frames that the host has not released or disposed.
| mln_logical_extent mln_render_session_snapshot::extent |
Logical extent applied by the driver.
| uint64_t mln_render_session_snapshot::frame_generation |
Frame generation of the latest rendered frame, zero before the first.
| uint64_t mln_render_session_snapshot::generation |
Increases when the session's lifecycle state, target, or applied extent changes. An acquired texture frame reports the value it rendered under.
| uint64_t mln_render_session_snapshot::map_update_generation |
Generation of the latest map render update that the session has seen.
| bool mln_render_session_snapshot::pending_changes |
True when a map update or an accepted resize arrived after the latest rendered frame.
| uint64_t mln_render_session_snapshot::rendered_update_generation |
Map render update generation that the latest rendered frame drew. Zero before the first frame after attachment or a target replacement.
| uint32_t mln_render_session_snapshot::state |
One mln_render_session_state value.