Edit

Share via


IMTLBlitCommandEncoder.CopyFromBuffer Method

Definition

Overloads

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

Parameters

sourceBuffer
IMTLBuffer
sourceOffset
System.System.UIntPtr System.unativeint
destinationBuffer
IMTLBuffer
destinationOffset
System.System.UIntPtr System.unativeint
size
System.System.UIntPtr System.unativeint
Attributes

Applies to

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

Parameters

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
Attributes

Applies to