MTLBlitCommandEncoder.copyFromBuffer

Encodes a command to copy image data from a source buffer into a destination texture.

  1. void copyFromBuffer(MTLBuffer sourceBuffer, NSUInteger sourceOffset, MTLBuffer destinationBuffer, NSUInteger destinationOffset, NSUInteger size)
  2. void copyFromBuffer(MTLBuffer sourceBuffer, NSUInteger sourceOffset, NSUInteger sourceBytesPerRow, NSUInteger sourceBytesPerImage, MTLSize sourceSize, MTLTexture destinationTexture, NSUInteger destinationSlice, NSUInteger destinationLevel, MTLOrigin destinationOrigin)
    interface MTLBlitCommandEncoder
    @selector("copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:")
    void
    copyFromBuffer
  3. void copyFromBuffer(MTLBuffer sourceBuffer, NSUInteger sourceOffset, NSUInteger sourceBytesPerRow, NSUInteger sourceBytesPerImage, MTLSize sourceSize, MTLTexture destinationTexture, NSUInteger destinationSlice, NSUInteger destinationLevel, MTLOrigin destinationOrigin, MTLBlitOption options)

Meta