MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_metal_owned_texture_frame Struct Reference

#include <texture.h>

Data Fields

uint64_t generation
 
uint32_t width
 
uint32_t height
 
double scale_factor
 
uint64_t frame_id
 
void * texture
 
void * device
 
uint64_t pixel_format
 

Detailed Description

Metal frame acquired from a session-owned texture target.

Field Documentation

◆ device

void* mln_metal_owned_texture_frame::device

Borrowed id<MTLDevice> / MTL::Device*. Valid until frame release.

◆ frame_id

uint64_t mln_metal_owned_texture_frame::frame_id

Opaque frame identity used to reject stale releases.

◆ generation

uint64_t mln_metal_owned_texture_frame::generation

Session generation that produced this frame.

◆ height

uint32_t mln_metal_owned_texture_frame::height

Physical Metal texture height in device pixels.

◆ pixel_format

uint64_t mln_metal_owned_texture_frame::pixel_format

Backend-native pixel format value. Metal uses MTLPixelFormat.

◆ scale_factor

double mln_metal_owned_texture_frame::scale_factor

UI-to-device pixel scale used for this frame.

◆ texture

void* mln_metal_owned_texture_frame::texture

Borrowed id<MTLTexture> / MTL::Texture*. Valid until frame release.

◆ width

uint32_t mln_metal_owned_texture_frame::width

Physical Metal texture width in device pixels.


The documentation for this struct was generated from the following file: