Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::DX12::CommandList::TileMapRequest Struct Reference

#include <CommandList.h>

Public Attributes

Memory * m_sourceMemory = nullptr
 
D3D12_TILED_RESOURCE_COORDINATE m_sourceCoordinate
 
D3D12_TILE_REGION_SIZE m_sourceRegionSize
 
ID3D12Heap * m_destinationHeap = nullptr
 
AZStd::vector< D3D12_TILE_RANGE_FLAGS > m_rangeFlags
 
AZStd::vector< uint32_t > m_rangeStartOffsets
 
AZStd::vector< uint32_t > m_rangeTileCounts
 

Detailed Description

Maps a single subresource region of tiles for a source resource to individual tiles of a destination heap. Used for cases where tiles are pool allocated from the heap and assigned individually to tiles of the source resource.

This was written specifically to enable mip streaming, which is the only system currently designed to utilize it.

The request can either map tiles from the source resource to tiles in the destination resource, or it can clear the existing mappings on the source resource to null.

  • To map against the heap, specify a destination heap and the tile association map.
  • To clear existing mappings, leave the destination parts null / empty.

The documentation for this struct was generated from the following file: