MTLBlitCommandEncoder.optimizeContentsForGPUAccess

Encodes a command that improves the performance of the GPU’s accesses to a specific portion of a texture.

  1. void optimizeContentsForGPUAccess(MTLTexture texture)
  2. void optimizeContentsForGPUAccess(MTLTexture texture, NSUInteger slice, NSUInteger level)
    interface MTLBlitCommandEncoder
    @selector("optimizeContentsForGPUAccess:slice:level:")
    void
    optimizeContentsForGPUAccess

Meta