|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <texture.h>
Data Fields | |
| uint32_t | size |
| mln_logical_size | logical_size |
| uint32_t | physical_width |
| uint32_t | physical_height |
| const mln_web_gpu_borrowed_texture * | textures |
| size_t | texture_count |
New WebGPU textures for a borrowed ring, for mln_render_session_set_web_gpu_borrowed_texture_target().
The members and the textures follow the rules of mln_web_gpu_borrowed_texture_descriptor. The ring keeps its depth, context, and format, so give it as many textures as it attached with, in that format, on the same device.
| mln_logical_size mln_web_gpu_borrowed_texture_replacement::logical_size |
| uint32_t mln_web_gpu_borrowed_texture_replacement::physical_height |
| uint32_t mln_web_gpu_borrowed_texture_replacement::physical_width |
| uint32_t mln_web_gpu_borrowed_texture_replacement::size |
| size_t mln_web_gpu_borrowed_texture_replacement::texture_count |
| const mln_web_gpu_borrowed_texture* mln_web_gpu_borrowed_texture_replacement::textures |