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

#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

Detailed Description

The Metal texture of an acquired frame.

Field Documentation

◆ device

void* mln_metal_texture_frame::device

The texture's MTLDevice.

◆ height

uint32_t mln_metal_texture_frame::height

◆ pixel_format

uint64_t mln_metal_texture_frame::pixel_format

The texture's MTLPixelFormat.

◆ scale_factor

double mln_metal_texture_frame::scale_factor

◆ size

uint32_t mln_metal_texture_frame::size

◆ slot

uint32_t mln_metal_texture_frame::slot

The texture's index in the descriptor's textures.

◆ texture

void* mln_metal_texture_frame::texture

The MTLTexture.

◆ width

uint32_t mln_metal_texture_frame::width

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