共用方式為


MTLBlitCommandEncoder_Extensions.CopyFromTexture 方法

定義

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void CopyFromTexture (this Metal.IMTLBlitCommandEncoder This, Metal.IMTLTexture sourceTexture, nuint sourceSlice, nuint sourceLevel, Metal.MTLOrigin sourceOrigin, Metal.MTLSize sourceSize, Metal.IMTLBuffer destinationBuffer, nuint destinationOffset, nuint destinatinBytesPerRow, nuint destinationBytesPerImage, Metal.MTLBlitOption options);
static member CopyFromTexture : Metal.IMTLBlitCommandEncoder * Metal.IMTLTexture * nuint * nuint * Metal.MTLOrigin * Metal.MTLSize * Metal.IMTLBuffer * nuint * nuint * nuint * Metal.MTLBlitOption -> unit

參數

This
IMTLBlitCommandEncoder

這個方法運作所在的 實例。

sourceTexture
IMTLTexture
sourceSlice
System.System.UIntPtr System.unativeint
sourceLevel
System.System.UIntPtr System.unativeint
sourceOrigin
MTLOrigin
sourceSize
MTLSize
destinationBuffer
IMTLBuffer
destinationOffset
System.System.UIntPtr System.unativeint
destinatinBytesPerRow
System.System.UIntPtr System.unativeint
destinationBytesPerImage
System.System.UIntPtr System.unativeint
options
MTLBlitOption
屬性

適用於