IMTLBlitCommandEncoder.CopyFromBuffer Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
CopyFromBuffer(IMTLBuffer, nuint, IMTLBuffer, nuint, nuint) | |
CopyFromBuffer(IMTLBuffer, nuint, nuint, nuint, MTLSize, IMTLTexture, nuint, nuint, MTLOrigin) |
CopyFromBuffer(IMTLBuffer, nuint, IMTLBuffer, nuint, nuint)
[Foundation.Export("copyFromBuffer:sourceOffset:toBuffer:destinationOffset:size:")]
[Foundation.Preserve(Conditional=true)]
public void CopyFromBuffer (Metal.IMTLBuffer sourceBuffer, nuint sourceOffset, Metal.IMTLBuffer destinationBuffer, nuint destinationOffset, nuint size);
abstract member CopyFromBuffer : Metal.IMTLBuffer * nuint * Metal.IMTLBuffer * nuint * nuint -> unit
Paramètres
- sourceBuffer
- IMTLBuffer
- sourceOffset
- System.System.UIntPtr System.unativeint
- destinationBuffer
- IMTLBuffer
- destinationOffset
- System.System.UIntPtr System.unativeint
- size
- System.System.UIntPtr System.unativeint
- Attributs
S’applique à
CopyFromBuffer(IMTLBuffer, nuint, nuint, nuint, MTLSize, IMTLTexture, nuint, nuint, MTLOrigin)
[Foundation.Export("copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:")]
[Foundation.Preserve(Conditional=true)]
public void CopyFromBuffer (Metal.IMTLBuffer sourceBuffer, nuint sourceOffset, nuint sourceBytesPerRow, nuint sourceBytesPerImage, Metal.MTLSize sourceSize, Metal.IMTLTexture destinationTexture, nuint destinationSlice, nuint destinationLevel, Metal.MTLOrigin destinationOrigin);
abstract member CopyFromBuffer : Metal.IMTLBuffer * nuint * nuint * nuint * Metal.MTLSize * Metal.IMTLTexture * nuint * nuint * Metal.MTLOrigin -> unit
Paramètres
- 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
- Attributs