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
266 mln_render_session session, const mln_metal_surface_descriptor* descriptor
267) MLN_NOEXCEPT;
268
306 mln_render_session session, const mln_vulkan_surface_descriptor* descriptor
307) MLN_NOEXCEPT;
308
340 mln_render_session session, const mln_opengl_surface_descriptor* descriptor
341) MLN_NOEXCEPT;
342
366 mln_render_session session, const mln_webgpu_surface_descriptor* descriptor
367) MLN_NOEXCEPT;
368
369#ifdef __cplusplus
370}
371#endif
372
373#endif // MAPLIBRE_NATIVE_C_SURFACE_H
mln_status
Definition base.h:39
uint64_t mln_vulkan_non_dispatchable_handle
Definition render_target.h:24
Definition render_target.h:41
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:180
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:30
Definition render_target.h:48
Definition surface.h:30
mln_vulkan_non_dispatchable_handle surface
Definition surface.h:41
mln_vulkan_context_descriptor context
Definition surface.h:39
mln_render_target_extent extent
Definition surface.h:33
Definition render_target.h:68
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)