MTLTexture.replaceRegion

Copies a block of pixels into a section of texture slice 0.

  1. void replaceRegion(MTLRegion region, NSUInteger mipmapLevel, NSUInteger slice, const(void)* withBytes, NSUInteger bytesPerRow, NSUInteger bytesPerImage)
  2. void replaceRegion(MTLRegion region, NSUInteger mipmapLevel, const(void)* withBytes, NSUInteger bytesPerRow)
    interface MTLTexture
    @selector("replaceRegion:mipmapLevel:withBytes:bytesPerRow:")
    void
    replaceRegion

Meta