An encoder that encodes commands that modify resource configurations.
- iOS 13.0+
Use a resource state command encoder to manage memory mappings for sparse textures.
Your app does not define classes that implement this protocol. To create a
MTLResource object, call the
resource method of the
MTLCommand object into which you want to encode blit commands. Next, call methods on the
MTLResource object to enqueue state updates. Finally, call
end to finish the encoding process.