編輯

共用方式為


MTLBlitCommandEncoder_Extensions.CopyFromBuffer Method

Definition

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void CopyFromBuffer (this Metal.IMTLBlitCommandEncoder This, Metal.IMTLBuffer sourceBuffer, nuint sourceOffset, nuint sourceBytesPerRow, nuint sourceBytesPerImage, Metal.MTLSize sourceSize, Metal.IMTLTexture destinationTexture, nuint destinationSlice, nuint destinationLevel, Metal.MTLOrigin destinationOrigin, Metal.MTLBlitOption options);
static member CopyFromBuffer : Metal.IMTLBlitCommandEncoder * Metal.IMTLBuffer * nuint * nuint * nuint * Metal.MTLSize * Metal.IMTLTexture * nuint * nuint * Metal.MTLOrigin * Metal.MTLBlitOption -> unit

Parameters

This
IMTLBlitCommandEncoder

The instance on which this method operates.

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
options
MTLBlitOption
Attributes

Applies to