Contents

copyMappings(sourceTexture:destinationTexture:operations:)

Copies multiple regions within a source placement sparse texture to a destination placement sparse texture.

Declaration

func copyMappings(sourceTexture: any MTLTexture, destinationTexture: any MTLTexture, operations: [MTL4CopySparseTextureMappingOperation])

Parameters

Discussion

You are responsible for ensuring the source and destination textures have the same placementSparsePageSize.

Additionally, you are responsible for ensuring that the source and destination textures don’t use the same aliased tiles at the same time.