MTLBlitCommandEncoder_Extensions.CopyFromTexture 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[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
參數
這個方法運作所在的 實例。
- 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
- 屬性