|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <texture.h>
Data Fields | |
| uint64_t | generation |
| uint32_t | width |
| uint32_t | height |
| double | scale_factor |
| uint64_t | frame_id |
| void * | texture |
| void * | texture_view |
| void * | device |
| uint32_t | format |
WebGPU frame acquired from a session-owned texture target.
| void* mln_webgpu_owned_texture_frame::device |
Borrowed WGPUDevice. Valid until frame release.
| uint32_t mln_webgpu_owned_texture_frame::format |
Backend-native WGPUTextureFormat value.
| uint64_t mln_webgpu_owned_texture_frame::frame_id |
Opaque frame identity used to reject stale releases.
| uint64_t mln_webgpu_owned_texture_frame::generation |
Session generation that produced this frame.
| uint32_t mln_webgpu_owned_texture_frame::height |
Physical WebGPU texture height in device pixels.
| double mln_webgpu_owned_texture_frame::scale_factor |
UI-to-device pixel scale used for this frame.
| void* mln_webgpu_owned_texture_frame::texture |
Borrowed WGPUTexture. Valid until frame release.
| void* mln_webgpu_owned_texture_frame::texture_view |
Borrowed WGPUTextureView. Valid until frame release.
| uint32_t mln_webgpu_owned_texture_frame::width |
Physical WebGPU texture width in device pixels.