MTLBlitCommandEncoder.optimizeContentsForCPUAccess

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

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

Meta