|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <texture.h>
Data Fields | |
| mln_logical_extent | extent |
| mln_metal_context_descriptor | context |
| uint64_t | pixel_format |
Metal attachment options for an owned texture target.
| mln_metal_context_descriptor mln_metal_owned_texture_descriptor::context |
Metal backend context. device is required.
| mln_logical_extent mln_metal_owned_texture_descriptor::extent |
Logical texture extent. A scale_factor that differs from the map's is accepted and logged as a warning.
| uint64_t mln_metal_owned_texture_descriptor::pixel_format |
Backend-native MTLPixelFormat value of the ring's textures: either MTLPixelFormatRGBA8Unorm or MTLPixelFormatBGRA8Unorm. Defaults to MTLPixelFormatRGBA8Unorm. Readback returns RGBA8 for either format.