Creates an object to encode a sequential compute pass into the command buffer.
- iOS 8.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
A compute command encoder object.
The resulting encoder encodes compute commands to be dispatched serially (
After the command buffer creates the compute command encoder, you can’t create other command encoders for this command buffer until you call the
endEncoding method of the
Creating Command Encoders
Creates an object to encode a block information transfer (blit) pass into the command buffer.
Constants indicating how the compute command encoder's commands are dispatched.
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.Learn more about using Apple's beta software