|
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 * | device |
| uint64_t | pixel_format |
The Metal texture of an acquired frame.
| void* mln_metal_texture_frame::device |
The texture's MTLDevice.
| uint32_t mln_metal_texture_frame::height |
| uint64_t mln_metal_texture_frame::pixel_format |
The texture's MTLPixelFormat.
| double mln_metal_texture_frame::scale_factor |
| uint32_t mln_metal_texture_frame::size |
| uint32_t mln_metal_texture_frame::slot |
The texture's index in the descriptor's textures.
| void* mln_metal_texture_frame::texture |
The MTLTexture.
| uint32_t mln_metal_texture_frame::width |