Command encoder factory methods
A command encoder defines the actions of a single pass, such as GPU commands that draw, compute, or quickly copy resource data.
Topics
Creating render encoders
Creating parallel render encoders
Creating acceleration structure encoders
Creating compute encoders
makeComputeCommandEncoder(descriptor:)makeComputeCommandEncoder()makeComputeCommandEncoder(dispatchType:)MTLDispatchType