ReadonlydeviceBorrowed id<MTLDevice> / MTL::Device*. Valid until frame release.
ReadonlyframeOpaque identity of this frame.
ReadonlygenerationSession generation that produced this frame.
ReadonlyheightPhysical Metal texture height in device pixels.
ReadonlypixelBackend-native pixel format value. Metal uses MTLPixelFormat.
ReadonlyscaleUI-to-device pixel scale used for this frame.
ReadonlyslotRing slot that holds this frame. For a borrowed target, the index of its texture in the descriptor's textures array.
ReadonlytextureBorrowed id<MTLTexture> / MTL::Texture*. Valid until frame release.
ReadonlywidthPhysical Metal texture width in device pixels.
Metal frame acquired from a texture ring.
See
mln_metal_texture_framein the C API reference.