|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <texture.h>
Data Fields | |
| uint32_t | size |
| uint32_t | width |
| uint32_t | height |
| double | scale_factor |
| uint32_t | slot |
| void * | texture |
| void * | texture_view |
| void * | device |
| uint32_t | format |
The WebGPU texture of an acquired frame.
| void* mln_web_gpu_texture_frame::device |
The texture's WGPUDevice.
| uint32_t mln_web_gpu_texture_frame::format |
The texture's WGPUTextureFormat.
| uint32_t mln_web_gpu_texture_frame::height |
| double mln_web_gpu_texture_frame::scale_factor |
| uint32_t mln_web_gpu_texture_frame::size |
| uint32_t mln_web_gpu_texture_frame::slot |
The texture's index in the descriptor's textures.
| void* mln_web_gpu_texture_frame::texture |
The WGPUTexture.
| void* mln_web_gpu_texture_frame::texture_view |
The WGPUTextureView.
| uint32_t mln_web_gpu_texture_frame::width |