Syntax
Parameters
pDstResource [in]Type: ID3D12Resource * A pointer to the destination reserved resource. pDstRegionStartCoordinate [in]
Type: const D3D12_TILED_RESOURCE_COORDINATE * A pointer to a D3D12_TILED_RESOURCE_COORDINATE structure that describes the starting coordinates of the destination reserved resource. pSrcResource [in]
Type: ID3D12Resource * A pointer to the source reserved resource. pSrcRegionStartCoordinate [in]
Type: const D3D12_TILED_RESOURCE_COORDINATE * A pointer to a D3D12_TILED_RESOURCE_COORDINATE structure that describes the starting coordinates of the source reserved resource. pRegionSize [in]
Type: const D3D12_TILE_REGION_SIZE * A pointer to a D3D12_TILE_REGION_SIZE structure that describes the size of the reserved region. Flags
Type: D3D12_TILE_MAPPING_FLAGS One member of D3D12_TILE_MAPPING_FLAGS.
Return value
Type: void None.Remarks
Use CopyTileMappings to copy the tile mappings from one reserved resource to another, either to duplicate a resource mapping, or to initialize a new mapping before modifying it using UpdateTileMappings. CopyTileMappings helps with tasks such as shifting mappings around within and across reserved resources, for example, scrolling tiles. The source and destination regions can overlap; the result of the copy in this situation is as if the source was saved to a temporary location and from there written to the destination. The destination and the source regions must each entirely fit in their resource or behavior is undefined and the debug layer will emit an error.Requirements
Header: d3d12_xs.h or d3d12_x.hLibrary: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family
