d-metal-binding v1.1.1 (2023-03-29T00:11:10Z)
Dub
Repo
MTLBlitCommandEncoder.copyFromTexture
metal
blitcommandencoder
MTLBlitCommandEncoder
Encodes a command that copies data from one texture to another.
void
copyFromTexture
(MTLTexture source, MTLTexture ddestination)
interface
MTLBlitCommandEncoder
@
selector
("copyFromTexture:toTexture:")
void
copyFromTexture
(
MTLTexture
source
,
MTLTexture
ddestination
)
void
copyFromTexture
(MTLTexture sourceTexture, NSUInteger sourceSlice, NSUInteger sourceLevel, MTLTexture destinationTexture, NSUInteger destinationSlice, NSUInteger destinationLevel, NSUInteger sliceCount, NSUInteger levelCount)
void
copyFromTexture
(MTLTexture sourceTexture, NSUInteger sourceSlice, NSUInteger sourceLevel, MTLOrigin sourceOrigin, MTLSize sourceSize, MTLTexture destinationTexture, NSUInteger destinationSlice, NSUInteger destinationLevel, MTLOrigin destinationOrigin)
void
copyFromTexture
(MTLTexture sourceTexture, NSUInteger sourceSlice, NSUInteger sourceLevel, MTLOrigin sourceOrigin, MTLSize sourceSize, MTLBuffer destinationBuffer, NSUInteger destinationOffset, NSUInteger destinationBytesPerRow, NSUInteger destinationBytesPerImage)
void
copyFromTexture
(MTLTexture sourceTexture, NSUInteger sourceSlice, NSUInteger sourceLevel, MTLOrigin sourceOrigin, MTLSize sourceSize, MTLBuffer destinationBuffer, NSUInteger destinationOffset, NSUInteger destinationBytesPerRow, NSUInteger destinationBytesPerImage, 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 texture to another.