Package org.maplibre.nativeffi.internal.c
package org.maplibre.nativeffi.internal.c
-
ClassDescription
struct mln_animation_options { uint32_t size; uint32_t fields; double duration_ms; double velocity; double min_zoom; mln_unit_bezier easing; }struct mln_bound_options { uint32_t size; uint32_t fields; mln_lat_lng_bounds bounds; double min_zoom; double max_zoom; double min_pitch; double max_pitch; }struct mln_camera_fit_options { uint32_t size; uint32_t fields; mln_edge_insets padding; double bearing; double pitch; }struct mln_camera_options { uint32_t size; uint32_t fields; double latitude; double longitude; double center_altitude; mln_edge_insets padding; mln_screen_point anchor; double zoom; double bearing; double pitch; double roll; double field_of_view; }struct mln_canonical_tile_id { uint32_t z; uint32_t x; uint32_t y; }struct mln_coordinate_span { const mln_lat_lng *coordinates; size_t coordinate_count; }struct mln_custom_geometry_source_options { uint32_t size; uint32_t fields; mln_custom_geometry_source_tile_callback fetch_tile; mln_custom_geometry_source_tile_callback cancel_tile; void *user_data; double min_zoom; double max_zoom; double tolerance; uint32_t tile_size; uint32_t buffer; bool clip; bool wrap; }typedef void (*mln_custom_geometry_source_tile_callback)(void *, mln_canonical_tile_id)The function pointer signature, expressed as a functional interfacestruct mln_edge_insets { double top; double left; double bottom; double right; }struct mln_egl_context_descriptor { uint32_t size; void *display; void *config; void *share_context; void *get_proc_address; }struct mln_feature { uint32_t size; const mln_geometry *geometry; const mln_json_member *properties; size_t property_count; uint32_t identifier_type; union { uint64_t uint_value; int64_t int_value; double double_value; mln_string_view string_value; } identifier; }struct mln_feature_collection { const mln_feature *features; size_t feature_count; }struct mln_feature_extension_result_info { uint32_t size; uint32_t type; union { const mln_json_value *value; mln_feature_collection feature_collection; } data; }union { const mln_json_value *value; mln_feature_collection feature_collection; }struct mln_feature_state_selector { uint32_t size; uint32_t fields; mln_string_view source_id; mln_string_view source_layer_id; mln_string_view feature_id; mln_string_view state_key; }union { uint64_t uint_value; int64_t int_value; double double_value; mln_string_view string_value; }struct mln_free_camera_options { uint32_t size; uint32_t fields; mln_vec3 position; mln_quaternion orientation; }struct mln_geojson { uint32_t size; uint32_t type; union { const mln_geometry *geometry; const mln_feature *feature; mln_feature_collection feature_collection; } data; }union { const mln_geometry *geometry; const mln_feature *feature; mln_feature_collection feature_collection; }struct mln_geometry { uint32_t size; uint32_t type; union { mln_lat_lng point; mln_coordinate_span line_string; mln_polygon_geometry polygon; mln_coordinate_span multi_point; mln_multi_line_geometry multi_line_string; mln_multi_polygon_geometry multi_polygon; mln_geometry_collection geometry_collection; } data; }struct mln_geometry_collection { const mln_geometry *geometries; size_t geometry_count; }union { mln_lat_lng point; mln_coordinate_span line_string; mln_polygon_geometry polygon; mln_coordinate_span multi_point; mln_multi_line_geometry multi_line_string; mln_multi_polygon_geometry multi_polygon; mln_geometry_collection geometry_collection; }struct mln_json_array { const mln_json_value *values; size_t value_count; }struct mln_json_member { mln_string_view key; const mln_json_value *value; }struct mln_json_object { const mln_json_member *members; size_t member_count; }struct mln_json_value { uint32_t size; uint32_t type; union { bool bool_value; uint64_t uint_value; int64_t int_value; double double_value; mln_string_view string_value; mln_json_array array_value; mln_json_object object_value; } data; }union { bool bool_value; uint64_t uint_value; int64_t int_value; double double_value; mln_string_view string_value; mln_json_array array_value; mln_json_object object_value; }struct mln_lat_lng { double latitude; double longitude; }struct mln_lat_lng_bounds { mln_lat_lng southwest; mln_lat_lng northeast; }typedef uint32_t (*mln_log_callback)(void *, uint32_t, uint32_t, int64_t, const char *)The function pointer signature, expressed as a functional interfacestruct mln_map_options { uint32_t size; uint32_t width; uint32_t height; double scale_factor; uint32_t map_mode; }struct mln_map_tile_options { uint32_t size; uint32_t fields; uint32_t prefetch_zoom_delta; double lod_min_radius; double lod_scale; double lod_pitch_threshold; double lod_zoom_shift; uint32_t lod_mode; }struct mln_map_viewport_options { uint32_t size; uint32_t fields; uint32_t north_orientation; uint32_t constrain_mode; uint32_t viewport_mode; mln_edge_insets frustum_offset; }struct mln_metal_borrowed_texture_descriptor { uint32_t size; mln_render_target_extent extent; void *texture; }struct mln_metal_context_descriptor { uint32_t size; void *device; }struct mln_metal_owned_texture_descriptor { uint32_t size; mln_render_target_extent extent; mln_metal_context_descriptor context; }struct mln_metal_owned_texture_frame { uint32_t size; uint64_t generation; uint32_t width; uint32_t height; double scale_factor; uint64_t frame_id; void *texture; void *device; uint64_t pixel_format; }struct mln_metal_surface_descriptor { uint32_t size; mln_render_target_extent extent; mln_metal_context_descriptor context; void *layer; }struct mln_multi_line_geometry { const mln_coordinate_span *lines; size_t line_count; }struct mln_multi_polygon_geometry { const mln_polygon_geometry *polygons; size_t polygon_count; }struct mln_offline_geometry_region_definition { uint32_t size; const char *style_url; const mln_geometry *geometry; double min_zoom; double max_zoom; float pixel_ratio; bool include_ideographs; }struct mln_offline_region_definition { uint32_t size; uint32_t type; union { mln_offline_tile_pyramid_region_definition tile_pyramid; mln_offline_geometry_region_definition geometry; } data; }union { mln_offline_tile_pyramid_region_definition tile_pyramid; mln_offline_geometry_region_definition geometry; }struct mln_offline_region_info { uint32_t size; mln_offline_region_id id; mln_offline_region_definition definition; const uint8_t *metadata; size_t metadata_size; }struct mln_offline_region_status { uint32_t size; uint32_t download_state; uint64_t completed_resource_count; uint64_t completed_resource_size; uint64_t completed_tile_count; uint64_t required_tile_count; uint64_t completed_tile_size; uint64_t required_resource_count; bool required_resource_count_is_precise; bool complete; }struct mln_offline_tile_pyramid_region_definition { uint32_t size; const char *style_url; mln_lat_lng_bounds bounds; double min_zoom; double max_zoom; float pixel_ratio; bool include_ideographs; }struct mln_opengl_borrowed_texture_descriptor { uint32_t size; mln_render_target_extent extent; mln_opengl_context_descriptor context; uint32_t texture; uint32_t target; }struct mln_opengl_context_descriptor { uint32_t size; mln_opengl_context_platform platform; union { mln_wgl_context_descriptor wgl; mln_egl_context_descriptor egl; } data; }union { mln_wgl_context_descriptor wgl; mln_egl_context_descriptor egl; }struct mln_opengl_owned_texture_descriptor { uint32_t size; mln_render_target_extent extent; mln_opengl_context_descriptor context; }struct mln_opengl_owned_texture_frame { uint32_t size; uint64_t generation; uint32_t width; uint32_t height; double scale_factor; uint64_t frame_id; uint32_t texture; uint32_t target; uint32_t internal_format; uint32_t format; uint32_t type; }struct mln_opengl_surface_descriptor { uint32_t size; mln_render_target_extent extent; mln_opengl_context_descriptor context; void *surface; }struct mln_polygon_geometry { const mln_coordinate_span *rings; size_t ring_count; }struct mln_premultiplied_rgba8_image { uint32_t size; uint32_t width; uint32_t height; uint32_t stride; const uint8_t *pixels; size_t byte_length; }struct mln_projected_meters { double northing; double easting; }struct mln_projection_mode { uint32_t size; uint32_t fields; bool axonometric; double x_skew; double y_skew; }struct mln_quaternion { double x; double y; double z; double w; }struct mln_queried_feature { uint32_t size; uint32_t fields; mln_feature feature; mln_string_view source_id; mln_string_view source_layer_id; const mln_json_value *state; }struct mln_render_target_extent { uint32_t size; uint32_t width; uint32_t height; double scale_factor; }struct mln_rendered_feature_query_options { uint32_t size; uint32_t fields; const mln_string_view *layer_ids; size_t layer_id_count; const mln_json_value *filter; }struct mln_rendered_query_geometry { uint32_t size; uint32_t type; union { mln_screen_point point; mln_screen_box box; mln_screen_line_string line_string; } data; }union { mln_screen_point point; mln_screen_box box; mln_screen_line_string line_string; }struct mln_rendering_stats { uint32_t size; double encoding_time; double rendering_time; int64_t frame_count; int64_t draw_call_count; int64_t total_draw_call_count; }struct mln_resource_provider { uint32_t size; mln_resource_provider_callback callback; void *user_data; }typedef uint32_t (*mln_resource_provider_callback)(void *, const mln_resource_request *, mln_resource_request_handle *)The function pointer signature, expressed as a functional interfacestruct mln_resource_request { uint32_t size; const char *url; uint32_t kind; uint32_t loading_method; uint32_t priority; uint32_t usage; uint32_t storage_policy; bool has_range; uint64_t range_start; uint64_t range_end; bool has_prior_modified; int64_t prior_modified_unix_ms; bool has_prior_expires; int64_t prior_expires_unix_ms; const char *prior_etag; const uint8_t *prior_data; size_t prior_data_size; }struct mln_resource_response { uint32_t size; uint32_t status; uint32_t error_reason; const uint8_t *bytes; size_t byte_count; const char *error_message; bool must_revalidate; bool has_modified; int64_t modified_unix_ms; bool has_expires; int64_t expires_unix_ms; const char *etag; bool has_retry_after; int64_t retry_after_unix_ms; }struct mln_resource_transform { uint32_t size; mln_resource_transform_callback callback; void *user_data; }typedef mln_status (*mln_resource_transform_callback)(void *, uint32_t, const char *, mln_resource_transform_response *)The function pointer signature, expressed as a functional interfacestruct mln_resource_transform_response { uint32_t size; const char *url; void *context; }struct mln_runtime_event { uint32_t size; uint32_t type; uint32_t source_type; void *source; int32_t code; uint32_t payload_type; const void *payload; size_t payload_size; const char *message; size_t message_size; }struct mln_runtime_event_offline_operation_completed { uint32_t size; mln_offline_operation_id operation_id; uint32_t operation_kind; uint32_t result_kind; int32_t result_status; bool found; }struct mln_runtime_event_offline_region_response_error { uint32_t size; mln_offline_region_id region_id; uint32_t reason; }struct mln_runtime_event_offline_region_status { uint32_t size; mln_offline_region_id region_id; mln_offline_region_status status; }struct mln_runtime_event_offline_region_tile_count_limit { uint32_t size; mln_offline_region_id region_id; uint64_t limit; }struct mln_runtime_event_render_frame { uint32_t size; uint32_t mode; bool needs_repaint; bool placement_changed; mln_rendering_stats stats; }struct mln_runtime_event_render_map { uint32_t size; uint32_t mode; }struct mln_runtime_event_style_image_missing { uint32_t size; const char *image_id; size_t image_id_size; }struct mln_runtime_event_tile_action { uint32_t size; uint32_t operation; mln_tile_id tile_id; const char *source_id; size_t source_id_size; }struct mln_runtime_options { uint32_t size; uint32_t flags; const char *asset_path; const char *cache_path; uint64_t maximum_cache_size; }struct mln_screen_box { mln_screen_point min; mln_screen_point max; }struct mln_screen_line_string { const mln_screen_point *points; size_t point_count; }struct mln_screen_point { double x; double y; }struct mln_source_feature_query_options { uint32_t size; uint32_t fields; const mln_string_view *source_layer_ids; size_t source_layer_id_count; const mln_json_value *filter; }struct mln_string_view { const char *data; size_t size; }struct mln_style_image_info { uint32_t size; uint32_t width; uint32_t height; uint32_t stride; size_t byte_length; float pixel_ratio; bool sdf; }struct mln_style_image_options { uint32_t size; uint32_t fields; float pixel_ratio; bool sdf; }struct mln_style_source_info { uint32_t size; uint32_t type; size_t id_size; bool is_volatile; bool has_attribution; size_t attribution_size; }struct mln_style_tile_source_options { uint32_t size; uint32_t fields; double min_zoom; double max_zoom; mln_string_view attribution; uint32_t scheme; mln_lat_lng_bounds bounds; uint32_t tile_size; uint32_t vector_encoding; uint32_t raster_encoding; }struct mln_texture_image_info { uint32_t size; uint32_t width; uint32_t height; uint32_t stride; size_t byte_length; }struct mln_tile_id { uint32_t overscaled_z; int32_t wrap; uint32_t canonical_z; uint32_t canonical_x; uint32_t canonical_y; }struct mln_unit_bezier { double x1; double y1; double x2; double y2; }struct mln_vec3 { double x; double y; double z; }struct mln_vulkan_borrowed_texture_descriptor { uint32_t size; mln_render_target_extent extent; mln_vulkan_context_descriptor context; void *image; void *image_view; uint32_t format; uint32_t initial_layout; uint32_t final_layout; }struct mln_vulkan_context_descriptor { uint32_t size; void *instance; void *physical_device; void *device; void *graphics_queue; uint32_t graphics_queue_family_index; void *get_instance_proc_addr; void *get_device_proc_addr; }struct mln_vulkan_owned_texture_descriptor { uint32_t size; mln_render_target_extent extent; mln_vulkan_context_descriptor context; }struct mln_vulkan_owned_texture_frame { uint32_t size; uint64_t generation; uint32_t width; uint32_t height; double scale_factor; uint64_t frame_id; void *image; void *image_view; void *device; uint32_t format; uint32_t layout; }struct mln_vulkan_surface_descriptor { uint32_t size; mln_render_target_extent extent; mln_vulkan_context_descriptor context; void *surface; }struct mln_wgl_context_descriptor { uint32_t size; void *device_context; void *share_context; void *get_proc_address; }