A ring of your Metal textures, for MapHandle.attachMetalBorrowedTexture().
logical_size sets the map's size. physical_width and physical_height
give the textures' size in pixels, which is usually logical_size times the
map's scale factor. The textures must all have that size, one device, one
pixel format, one sample, and MTLTextureUsageRenderTarget. The ring holds up
to TEXTURE_RING_MAX_DEPTH distinct textures.
The session uses the textures until a replacement or release of the target
completes, a detach or release of the session completes, or an abandon of it
returns.
See mln_metal_borrowed_texture_descriptor in the
C API reference.
A ring of your Metal textures, for
MapHandle.attachMetalBorrowedTexture().logical_sizesets the map's size.physical_widthandphysical_heightgive the textures' size in pixels, which is usuallylogical_sizetimes the map's scale factor. The textures must all have that size, one device, one pixel format, one sample, and MTLTextureUsageRenderTarget. The ring holds up toTEXTURE_RING_MAX_DEPTHdistinct textures.The session uses the textures until a replacement or release of the target completes, a detach or release of the session completes, or an abandon of it returns.
See
mln_metal_borrowed_texture_descriptorin the C API reference.