d-metal-binding v1.1.1 (2023-03-29T00:11:10Z)
Dub
Repo
MTLBlitCommandEncoder.copyFromBuffer
metal
blitcommandencoder
MTLBlitCommandEncoder
Encodes a command that copies data from one buffer into another.
void
copyFromBuffer
(MTLBuffer sourceBuffer, NSUInteger sourceOffset, MTLBuffer destinationBuffer, NSUInteger destinationOffset, NSUInteger size)
interface
MTLBlitCommandEncoder
@
selector
("copyFromBuffer:sourceOffset:toBuffer:destinationOffset:size:")
void
copyFromBuffer
(
MTLBuffer
sourceBuffer
,
NSUInteger
sourceOffset
,
MTLBuffer
destinationBuffer
,
NSUInteger
destinationOffset
,
NSUInteger
size
)
void
copyFromBuffer
(MTLBuffer sourceBuffer, NSUInteger sourceOffset, NSUInteger sourceBytesPerRow, NSUInteger sourceBytesPerImage, MTLSize sourceSize, MTLTexture destinationTexture, NSUInteger destinationSlice, NSUInteger destinationLevel, MTLOrigin destinationOrigin)
void
copyFromBuffer
(MTLBuffer sourceBuffer, NSUInteger sourceOffset, NSUInteger sourceBytesPerRow, NSUInteger sourceBytesPerImage, MTLSize sourceSize, MTLTexture destinationTexture, NSUInteger destinationSlice, NSUInteger destinationLevel, MTLOrigin destinationOrigin, MTLBlitOption options)
Meta
Source
See Implementation
metal
blitcommandencoder
MTLBlitCommandEncoder
functions
copyFromBuffer
copyFromTexture
fillBuffer
generateMipmapsForTexture
getTextureAccessCounters
optimizeContentsForCPUAccess
optimizeContentsForGPUAccess
resetTextureAccessCounters
synchronizeResource
synchronizeTexture
updateFence
waitForFence
Encodes a command that copies data from one buffer into another.