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
- 屬性