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, nuint, nuint, MTLOrigin, MTLSize, IMTLBuffer, nuint, nuint, nuint) | |
CopyFromTexture(IMTLTexture, nuint, nuint, MTLOrigin, MTLSize, IMTLTexture, nuint, nuint, MTLOrigin) |
CopyFromTexture(IMTLTexture, nuint, nuint, MTLOrigin, MTLSize, IMTLBuffer, nuint, nuint, nuint)
[Foundation.Export("copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:")]
[Foundation.Preserve(Conditional=true)]
public void CopyFromTexture (Metal.IMTLTexture sourceTexture, nuint sourceSlice, nuint sourceLevel, Metal.MTLOrigin sourceOrigin, Metal.MTLSize sourceSize, Metal.IMTLBuffer destinationBuffer, nuint destinationOffset, nuint destinatinBytesPerRow, nuint destinationBytesPerImage);
abstract member CopyFromTexture : Metal.IMTLTexture * nuint * nuint * Metal.MTLOrigin * Metal.MTLSize * Metal.IMTLBuffer * nuint * nuint * nuint -> unit
Parameters
- 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
- Attributes
Applies to
CopyFromTexture(IMTLTexture, nuint, nuint, MTLOrigin, MTLSize, IMTLTexture, nuint, nuint, MTLOrigin)
[Foundation.Export("copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:")]
[Foundation.Preserve(Conditional=true)]
public void CopyFromTexture (Metal.IMTLTexture sourceTexture, nuint sourceSlice, nuint sourceLevel, Metal.MTLOrigin sourceOrigin, Metal.MTLSize sourceSize, Metal.IMTLTexture destinationTexture, nuint destinationSlice, nuint destinationLevel, Metal.MTLOrigin destinationOrigin);
abstract member CopyFromTexture : Metal.IMTLTexture * nuint * nuint * Metal.MTLOrigin * Metal.MTLSize * Metal.IMTLTexture * nuint * nuint * Metal.MTLOrigin -> unit
Parameters
- sourceTexture
- IMTLTexture
- sourceSlice
- System.System.UIntPtr System.unativeint
- sourceLevel
- System.System.UIntPtr System.unativeint
- sourceOrigin
- MTLOrigin
- sourceSize
- MTLSize
- destinationTexture
- IMTLTexture
- destinationSlice
- System.System.UIntPtr System.unativeint
- destinationLevel
- System.System.UIntPtr System.unativeint
- destinationOrigin
- MTLOrigin
- Attributes