|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <surface.h>
Data Fields | |
| uint32_t | size |
| mln_logical_size | logical_size |
| void * | surface |
A new WebGPU surface for mln_render_session_set_web_gpu_surface_target().
The session configures it with the context and format that it attached with. It uses the surface until a replacement or release of the target completes, a detach or release of the session completes, or an abandon of it returns.
| mln_logical_size mln_web_gpu_surface_replacement::logical_size |
| uint32_t mln_web_gpu_surface_replacement::size |
| void* mln_web_gpu_surface_replacement::surface |
Your WGPUSurface.