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

#include <texture.h>

Data Fields

mln_render_target_extent extent
 
void * texture
 

Detailed Description

Metal caller-owned texture session attachment options.

Field Documentation

◆ extent

mln_render_target_extent mln_metal_borrowed_texture_descriptor::extent

Logical texture extent.

◆ texture

void* mln_metal_borrowed_texture_descriptor::texture

Borrowed id<MTLTexture> / MTL::Texture*. Required.

The texture's physical pixel dimensions must match extent, and the texture must allow render-target usage. The caller owns the texture and must keep it valid until detach or destroy.


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