MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_render_session_snapshot Struct Reference

#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

Detailed Description

Any-thread render-session snapshot.

Field Documentation

◆ acquired_frame_count

uint32_t mln_render_session_snapshot::acquired_frame_count

Acquired frames that the host has not released or disposed.

◆ extent

mln_logical_extent mln_render_session_snapshot::extent

Logical extent applied by the driver.

◆ frame_generation

uint64_t mln_render_session_snapshot::frame_generation

Frame generation of the latest rendered frame, zero before the first.

◆ generation

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.

◆ map_update_generation

uint64_t mln_render_session_snapshot::map_update_generation

Generation of the latest map render update that the session has seen.

◆ pending_changes

bool mln_render_session_snapshot::pending_changes

True when a map update or an accepted resize arrived after the latest rendered frame.

◆ rendered_update_generation

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.

◆ state

uint32_t mln_render_session_snapshot::state

The documentation for this struct was generated from the following file: