IMTLBlitCommandEncoder.CopyFromBuffer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CopyFromBuffer(IMTLBuffer, UIntPtr, IMTLBuffer, UIntPtr, UIntPtr)
[Foundation.Export("copyFromBuffer:sourceOffset:toBuffer:destinationOffset:size:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void CopyFromBuffer(Metal.IMTLBuffer sourceBuffer, UIntPtr sourceOffset, Metal.IMTLBuffer destinationBuffer, UIntPtr destinationOffset, UIntPtr size);
[<Foundation.Export("copyFromBuffer:sourceOffset:toBuffer:destinationOffset:size:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CopyFromBuffer : Metal.IMTLBuffer * unativeint * Metal.IMTLBuffer * unativeint * unativeint -> unit
override this.CopyFromBuffer : Metal.IMTLBuffer * unativeint * Metal.IMTLBuffer * unativeint * unativeint -> unit
Parameters
- sourceBuffer
- IMTLBuffer
- sourceOffset
-
UIntPtr
unativeint
- destinationBuffer
- IMTLBuffer
- destinationOffset
-
UIntPtr
unativeint
- size
-
UIntPtr
unativeint
- Attributes
Applies to
CopyFromBuffer(IMTLBuffer, UIntPtr, UIntPtr, UIntPtr, MTLSize, IMTLTexture, UIntPtr, UIntPtr, MTLOrigin)
[Foundation.Export("copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void CopyFromBuffer(Metal.IMTLBuffer sourceBuffer, UIntPtr sourceOffset, UIntPtr sourceBytesPerRow, UIntPtr sourceBytesPerImage, Metal.MTLSize sourceSize, Metal.IMTLTexture destinationTexture, UIntPtr destinationSlice, UIntPtr destinationLevel, Metal.MTLOrigin destinationOrigin);
[<Foundation.Export("copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CopyFromBuffer : Metal.IMTLBuffer * unativeint * unativeint * unativeint * Metal.MTLSize * Metal.IMTLTexture * unativeint * unativeint * Metal.MTLOrigin -> unit
override this.CopyFromBuffer : Metal.IMTLBuffer * unativeint * unativeint * unativeint * Metal.MTLSize * Metal.IMTLTexture * unativeint * unativeint * Metal.MTLOrigin -> unit
Parameters
- sourceBuffer
- IMTLBuffer
- sourceOffset
-
UIntPtr
unativeint
- sourceBytesPerRow
-
UIntPtr
unativeint
- sourceBytesPerImage
-
UIntPtr
unativeint
- sourceSize
- MTLSize
- destinationTexture
- IMTLTexture
- destinationSlice
-
UIntPtr
unativeint
- destinationLevel
-
UIntPtr
unativeint
- destinationOrigin
- MTLOrigin
- Attributes
Applies to
CopyFromBuffer(IMTLBuffer, UIntPtr, UIntPtr, UIntPtr, MTLSize, IMTLTexture, UIntPtr, UIntPtr, MTLOrigin, MTLBlitOption)
[Foundation.Export("copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:options:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void CopyFromBuffer(Metal.IMTLBuffer sourceBuffer, UIntPtr sourceOffset, UIntPtr sourceBytesPerRow, UIntPtr sourceBytesPerImage, Metal.MTLSize sourceSize, Metal.IMTLTexture destinationTexture, UIntPtr destinationSlice, UIntPtr destinationLevel, Metal.MTLOrigin destinationOrigin, Metal.MTLBlitOption options);
[<Foundation.Export("copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:options:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CopyFromBuffer : Metal.IMTLBuffer * unativeint * unativeint * unativeint * Metal.MTLSize * Metal.IMTLTexture * unativeint * unativeint * Metal.MTLOrigin * Metal.MTLBlitOption -> unit
override this.CopyFromBuffer : Metal.IMTLBuffer * unativeint * unativeint * unativeint * Metal.MTLSize * Metal.IMTLTexture * unativeint * unativeint * Metal.MTLOrigin * Metal.MTLBlitOption -> unit
Parameters
- sourceBuffer
- IMTLBuffer
- sourceOffset
-
UIntPtr
unativeint
- sourceBytesPerRow
-
UIntPtr
unativeint
- sourceBytesPerImage
-
UIntPtr
unativeint
- sourceSize
- MTLSize
- destinationTexture
- IMTLTexture
- destinationSlice
-
UIntPtr
unativeint
- destinationLevel
-
UIntPtr
unativeint
- destinationOrigin
- MTLOrigin
- options
- MTLBlitOption
- Attributes