Low-level interface for creating a temporary image using a texture descriptor.
- iOS 10.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 10.0+
- Metal Performance Shaders
The command buffer on which the temporary image will be exclusively used.
A texture descriptor that describes the temporary image texture to create.
The temporary image will be released when the command buffer is committed. The underlying texture will become invalid before this time due to the action of the
This function provides access to pixel formats not typically covered by the
init(command method. The feature channels will be inferred from the pixel format without changing the width. The following restrictions apply: