MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
surface.h
Go to the documentation of this file.
1
5
6#ifndef MAPLIBRE_NATIVE_C_SURFACE_H
7#define MAPLIBRE_NATIVE_C_SURFACE_H
8
9#include <stdint.h>
10
11#include "base.h"
12#include "render_target.h"
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
28
43
63
77
83
89
95
101
125 mln_map map, const mln_metal_surface_descriptor* descriptor,
126 mln_render_session* out_session
127) MLN_NOEXCEPT;
128
154 mln_map map, const mln_vulkan_surface_descriptor* descriptor,
155 mln_render_session* out_session
156) MLN_NOEXCEPT;
157
194 mln_map map, const mln_opengl_surface_descriptor* descriptor,
195 mln_render_session* out_session
196) MLN_NOEXCEPT;
197
223 mln_map map, const mln_webgpu_surface_descriptor* descriptor,
224 mln_render_session* out_session
225) MLN_NOEXCEPT;
226
267 mln_render_session session, const mln_metal_surface_descriptor* descriptor
268) MLN_NOEXCEPT;
269
307 mln_render_session session, const mln_vulkan_surface_descriptor* descriptor
308) MLN_NOEXCEPT;
309
341 mln_render_session session, const mln_opengl_surface_descriptor* descriptor
342) MLN_NOEXCEPT;
343
367 mln_render_session session, const mln_webgpu_surface_descriptor* descriptor
368) MLN_NOEXCEPT;
369
370#ifdef __cplusplus
371}
372#endif
373
374#endif // MAPLIBRE_NATIVE_C_SURFACE_H
mln_status
Definition base.h:39
Definition render_target.h:29
Definition surface.h:19
void * layer
Definition surface.h:26
mln_metal_context_descriptor context
Definition surface.h:24
mln_render_target_extent extent
Definition surface.h:22
Definition render_target.h:168
Definition surface.h:65
mln_render_target_extent extent
Definition surface.h:68
mln_opengl_context_descriptor context
Definition surface.h:70
void * surface
Definition surface.h:75
Definition render_target.h:18
Definition render_target.h:36
Definition surface.h:30
mln_vulkan_context_descriptor context
Definition surface.h:39
mln_render_target_extent extent
Definition surface.h:33
void * surface
Definition surface.h:41
Definition render_target.h:56
Definition surface.h:45
mln_webgpu_context_descriptor context
Definition surface.h:50
uint32_t format
Definition surface.h:61
void * surface
Definition surface.h:56
mln_render_target_extent extent
Definition surface.h:48
mln_status mln_metal_surface_attach(mln_map map, const mln_metal_surface_descriptor *descriptor, mln_render_session *out_session)
mln_webgpu_surface_descriptor mln_webgpu_surface_descriptor_default(void)
mln_status mln_opengl_surface_attach(mln_map map, const mln_opengl_surface_descriptor *descriptor, mln_render_session *out_session)
mln_status mln_webgpu_surface_attach(mln_map map, const mln_webgpu_surface_descriptor *descriptor, mln_render_session *out_session)
mln_status mln_metal_surface_set_target(mln_render_session session, const mln_metal_surface_descriptor *descriptor)
mln_status mln_opengl_surface_set_target(mln_render_session session, const mln_opengl_surface_descriptor *descriptor)
mln_status mln_vulkan_surface_set_target(mln_render_session session, const mln_vulkan_surface_descriptor *descriptor)
mln_status mln_vulkan_surface_attach(mln_map map, const mln_vulkan_surface_descriptor *descriptor, mln_render_session *out_session)
mln_metal_surface_descriptor mln_metal_surface_descriptor_default(void)
mln_status mln_webgpu_surface_set_target(mln_render_session session, const mln_webgpu_surface_descriptor *descriptor)
mln_opengl_surface_descriptor mln_opengl_surface_descriptor_default(void)
mln_vulkan_surface_descriptor mln_vulkan_surface_descriptor_default(void)