Contents

MTLResourceStateCommandEncoder

An encoder that encodes commands that modify resource configurations.

Declaration

protocol MTLResourceStateCommandEncoder : MTLCommandEncoder

Mentioned in

Overview

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 an MTLResourceStateCommandEncoder instance, call the makeResourceStateCommandEncoder() method of the MTLCommandBuffer instance into which you want to encode blit commands. Next, call methods on the MTLResourceStateCommandEncoder instance to enqueue state updates. Finally, call endEncoding() to finish the encoding process.

Topics

Updating texture memory assignments

Updating texture memory assignments indirectly

Performing fence operations

Instance Methods

See Also

Sparse textures