MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
win32.h
Go to the documentation of this file.
1
5
6#ifndef MAPLIBRE_NATIVE_C_PLATFORM_WIN32_H
7#define MAPLIBRE_NATIVE_C_PLATFORM_WIN32_H
8
9#include <stdint.h>
10
11#include "../base.h"
12#include "../completion.h"
13#include "../map.h"
14#include "../render_session.h"
15#include "../render_target.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
23 uint32_t size;
24 mln_logical_size logical_size MLN_BINDING("required=true");
26 void* window MLN_BINDING("required=true");
28
31 uint32_t size;
32 mln_logical_size logical_size MLN_BINDING("required=true");
34 void* window MLN_BINDING("required=true");
36
67MLN_BINDING("execution=lifecycle;platforms=windows")
69 mln_map map, const mln_win32_window_descriptor* descriptor,
70 mln_vulkan_device device MLN_BINDING("nullable=true"),
72 mln_render_session* out_session MLN_BINDING("direction=out"),
73 const mln_completion* completion, mln_diagnostic* out_diagnostic
74) MLN_NOEXCEPT;
75
96MLN_BINDING("execution=operation;platforms=windows")
98 mln_render_session session, const mln_win32_window_replacement* replacement,
99 const mln_completion* completion, mln_diagnostic* out_diagnostic
100) MLN_NOEXCEPT;
101
111 uint32_t size;
112 mln_logical_size logical_size MLN_BINDING("required=true");
114 uint32_t texture_count MLN_BINDING("required=true");
116
119 uint32_t size;
120 uint32_t width;
121 uint32_t height;
124 uint32_t slot;
126 uint32_t format;
128 void* handle MLN_BINDING("lifetime=owner");
130
159MLN_BINDING("execution=lifecycle;platforms=windows")
162 mln_vulkan_device device MLN_BINDING("nullable=true"),
164 mln_render_session* out_session MLN_BINDING("direction=out"),
165 const mln_completion* completion, mln_diagnostic* out_diagnostic
166) MLN_NOEXCEPT;
167
190MLN_BINDING("view_owner=frame;platforms=windows")
192 mln_acquired_frame frame,
193 mln_dxgi_shared_texture_frame* out_frame MLN_BINDING("direction=out"),
194 mln_diagnostic* out_diagnostic
195) MLN_NOEXCEPT;
196
197#ifdef __cplusplus
198}
199#endif
200
201#endif // MAPLIBRE_NATIVE_C_PLATFORM_WIN32_H
uint64_t mln_render_session
Definition base.h:147
uint64_t mln_map
Definition base.h:112
uint64_t mln_vulkan_device
Definition base.h:127
uint64_t mln_acquired_frame
Definition base.h:154
mln_status
Definition base.h:41
Definition completion.h:66
Definition base.h:84
Definition win32.h:118
uint32_t slot
Definition win32.h:124
uint32_t size
Definition win32.h:119
uint32_t width
Definition win32.h:120
void * handle
Definition win32.h:128
uint32_t format
Definition win32.h:126
double scale_factor
Definition win32.h:122
uint32_t height
Definition win32.h:121
mln_logical_size logical_size
Definition win32.h:112
uint32_t texture_count
Definition win32.h:114
uint32_t size
Definition win32.h:111
Definition map.h:196
Definition render_target.h:125
Definition win32.h:22
uint32_t size
Definition win32.h:23
mln_logical_size logical_size
Definition win32.h:24
void * window
Definition win32.h:26
Definition win32.h:30
mln_logical_size logical_size
Definition win32.h:32
uint32_t size
Definition win32.h:31
void * window
Definition win32.h:34
mln_status mln_acquired_frame_get_dxgi_shared_texture(mln_acquired_frame frame, mln_dxgi_shared_texture_frame *out_frame, mln_diagnostic *out_diagnostic)
mln_status mln_map_attach_win32_window(mln_map map, const mln_win32_window_descriptor *descriptor, mln_vulkan_device device, const mln_render_session_attach_options *options, mln_render_session *out_session, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_status mln_map_attach_dxgi_shared_texture_ring(mln_map map, const mln_dxgi_shared_texture_ring_descriptor *descriptor, mln_vulkan_device device, const mln_render_session_attach_options *options, mln_render_session *out_session, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_status mln_render_session_set_win32_window_target(mln_render_session session, const mln_win32_window_replacement *replacement, const mln_completion *completion, mln_diagnostic *out_diagnostic)