IMTLBlitCommandEncoder.CopyFromBuffer 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CopyFromBuffer(IMTLBuffer, nuint, IMTLBuffer, nuint, nuint) | |
CopyFromBuffer(IMTLBuffer, nuint, nuint, nuint, MTLSize, IMTLTexture, nuint, nuint, MTLOrigin) |
CopyFromBuffer(IMTLBuffer, nuint, IMTLBuffer, nuint, nuint)
[Foundation.Export("copyFromBuffer:sourceOffset:toBuffer:destinationOffset:size:")]
[Foundation.Preserve(Conditional=true)]
public void CopyFromBuffer (Metal.IMTLBuffer sourceBuffer, nuint sourceOffset, Metal.IMTLBuffer destinationBuffer, nuint destinationOffset, nuint size);
abstract member CopyFromBuffer : Metal.IMTLBuffer * nuint * Metal.IMTLBuffer * nuint * nuint -> unit
参数
- sourceBuffer
- IMTLBuffer
- sourceOffset
- System.System.UIntPtr System.unativeint
- destinationBuffer
- IMTLBuffer
- destinationOffset
- System.System.UIntPtr System.unativeint
- size
- System.System.UIntPtr System.unativeint
- 属性
适用于
CopyFromBuffer(IMTLBuffer, nuint, nuint, nuint, MTLSize, IMTLTexture, nuint, nuint, MTLOrigin)
[Foundation.Export("copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:")]
[Foundation.Preserve(Conditional=true)]
public void CopyFromBuffer (Metal.IMTLBuffer sourceBuffer, nuint sourceOffset, nuint sourceBytesPerRow, nuint sourceBytesPerImage, Metal.MTLSize sourceSize, Metal.IMTLTexture destinationTexture, nuint destinationSlice, nuint destinationLevel, Metal.MTLOrigin destinationOrigin);
abstract member CopyFromBuffer : Metal.IMTLBuffer * nuint * nuint * nuint * Metal.MTLSize * Metal.IMTLTexture * nuint * nuint * Metal.MTLOrigin -> unit
参数
- sourceBuffer
- IMTLBuffer
- sourceOffset
- System.System.UIntPtr System.unativeint
- sourceBytesPerRow
- System.System.UIntPtr System.unativeint
- sourceBytesPerImage
- System.System.UIntPtr System.unativeint
- sourceSize
- MTLSize
- destinationTexture
- IMTLTexture
- destinationSlice
- System.System.UIntPtr System.unativeint
- destinationLevel
- System.System.UIntPtr System.unativeint
- destinationOrigin
- MTLOrigin
- 属性