An encoder that encodes memory copying, filtering, and fill commands.
Mac Catalyst 13.0+Beta
The MTLBlitCommandEncoder protocol defines the interface for objects that can encode resource-copying commands into a command buffer. Use these commands to manage the contents of textures and buffers.
Data copying operations may be necessary for image processing and texture effects, such as blurring or reflections. You also use these operators to access image data that is rendered offscreen.
Your app does not define classes that implement this protocol. To create a MTLBlitCommandEncoder object, call the blitCommandEncoder method of the MTLCommandBuffer object into which you want to encode blit commands. Next, call methods on the MTLBlitCommandEncoder object to enqueue blit commands. Finally, call endEncoding to finish the encoding process.
Manage access to resources in your app to avoid data hazards.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.