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

#include <surface.h>

Data Fields

mln_render_target_extent extent
 
mln_metal_context_descriptor context
 
void * layer
 

Detailed Description

Metal native surface session attachment options.

Field Documentation

◆ context

mln_metal_context_descriptor mln_metal_surface_descriptor::context

Metal backend context. device is optional for Metal surfaces.

◆ extent

mln_render_target_extent mln_metal_surface_descriptor::extent

Logical surface extent.

◆ layer

void* mln_metal_surface_descriptor::layer

CAMetalLayer* / CA::MetalLayer* retained by the session. Required.


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