IMTLBlitCommandEncoder.CopyFromTexture 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
CopyFromTexture(IMTLTexture, UIntPtr, UIntPtr, MTLOrigin, MTLSize, IMTLBuffer, UIntPtr, UIntPtr, UIntPtr)
[Foundation.Export("copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void CopyFromTexture(Metal.IMTLTexture sourceTexture, UIntPtr sourceSlice, UIntPtr sourceLevel, Metal.MTLOrigin sourceOrigin, Metal.MTLSize sourceSize, Metal.IMTLBuffer destinationBuffer, UIntPtr destinationOffset, UIntPtr destinatinBytesPerRow, UIntPtr destinationBytesPerImage);
[<Foundation.Export("copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CopyFromTexture : Metal.IMTLTexture * unativeint * unativeint * Metal.MTLOrigin * Metal.MTLSize * Metal.IMTLBuffer * unativeint * unativeint * unativeint -> unit
override this.CopyFromTexture : Metal.IMTLTexture * unativeint * unativeint * Metal.MTLOrigin * Metal.MTLSize * Metal.IMTLBuffer * unativeint * unativeint * unativeint -> unit
Parameters
- sourceTexture
- IMTLTexture
- sourceSlice
-
UIntPtr
unativeint
- sourceLevel
-
UIntPtr
unativeint
- sourceOrigin
- MTLOrigin
- sourceSize
- MTLSize
- destinationBuffer
- IMTLBuffer
- destinationOffset
-
UIntPtr
unativeint
- destinatinBytesPerRow
-
UIntPtr
unativeint
- destinationBytesPerImage
-
UIntPtr
unativeint
- Attributes
Applies to
CopyFromTexture(IMTLTexture, UIntPtr, UIntPtr, MTLOrigin, MTLSize, IMTLTexture, UIntPtr, UIntPtr, MTLOrigin)
[Foundation.Export("copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void CopyFromTexture(Metal.IMTLTexture sourceTexture, UIntPtr sourceSlice, UIntPtr sourceLevel, Metal.MTLOrigin sourceOrigin, Metal.MTLSize sourceSize, Metal.IMTLTexture destinationTexture, UIntPtr destinationSlice, UIntPtr destinationLevel, Metal.MTLOrigin destinationOrigin);
[<Foundation.Export("copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CopyFromTexture : Metal.IMTLTexture * unativeint * unativeint * Metal.MTLOrigin * Metal.MTLSize * Metal.IMTLTexture * unativeint * unativeint * Metal.MTLOrigin -> unit
override this.CopyFromTexture : Metal.IMTLTexture * unativeint * unativeint * Metal.MTLOrigin * Metal.MTLSize * Metal.IMTLTexture * unativeint * unativeint * Metal.MTLOrigin -> unit
Parameters
- sourceTexture
- IMTLTexture
- sourceSlice
-
UIntPtr
unativeint
- sourceLevel
-
UIntPtr
unativeint
- sourceOrigin
- MTLOrigin
- sourceSize
- MTLSize
- destinationTexture
- IMTLTexture
- destinationSlice
-
UIntPtr
unativeint
- destinationLevel
-
UIntPtr
unativeint
- destinationOrigin
- MTLOrigin
- Attributes
Applies to
CopyFromTexture(IMTLTexture, UIntPtr, UIntPtr, MTLOrigin, MTLSize, IMTLBuffer, UIntPtr, UIntPtr, UIntPtr, MTLBlitOption)
[Foundation.Export("copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:options:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void CopyFromTexture(Metal.IMTLTexture sourceTexture, UIntPtr sourceSlice, UIntPtr sourceLevel, Metal.MTLOrigin sourceOrigin, Metal.MTLSize sourceSize, Metal.IMTLBuffer destinationBuffer, UIntPtr destinationOffset, UIntPtr destinatinBytesPerRow, UIntPtr destinationBytesPerImage, Metal.MTLBlitOption options);
[<Foundation.Export("copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:options:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CopyFromTexture : Metal.IMTLTexture * unativeint * unativeint * Metal.MTLOrigin * Metal.MTLSize * Metal.IMTLBuffer * unativeint * unativeint * unativeint * Metal.MTLBlitOption -> unit
override this.CopyFromTexture : Metal.IMTLTexture * unativeint * unativeint * Metal.MTLOrigin * Metal.MTLSize * Metal.IMTLBuffer * unativeint * unativeint * unativeint * Metal.MTLBlitOption -> unit
Parameters
- sourceTexture
- IMTLTexture
- sourceSlice
-
UIntPtr
unativeint
- sourceLevel
-
UIntPtr
unativeint
- sourceOrigin
- MTLOrigin
- sourceSize
- MTLSize
- destinationBuffer
- IMTLBuffer
- destinationOffset
-
UIntPtr
unativeint
- destinatinBytesPerRow
-
UIntPtr
unativeint
- destinationBytesPerImage
-
UIntPtr
unativeint
- options
- MTLBlitOption
- Attributes