Bewerken

Delen via


D3DWDDM1_3DDI_TILE_COPY_FLAG enumeration (d3d10umddi.h)

Identifies how to copy a tile using the CopyTiles function.

Syntax

typedef enum D3DWDDM1_3DDI_TILE_COPY_FLAG {
  D3DWDDM1_3DDI_TILE_COPY_NO_OVERWRITE,
  D3DWDDM1_3DDI_TILE_COPY_LINEAR_BUFFER_TO_SWIZZLED_TILED_RESOURCE,
  D3DWDDM1_3DDI_TILE_COPY_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER
} ;

Constants

 
D3DWDDM1_3DDI_TILE_COPY_NO_OVERWRITE
The GPU isn't currently referencing any of the portions of destination memory being written.
D3DWDDM1_3DDI_TILE_COPY_LINEAR_BUFFER_TO_SWIZZLED_TILED_RESOURCE
The CopyTiles operation involves copying a linear buffer to a swizzled tiled resource. This means to copy tile data from the specified buffer location, reading tiles sequentially, to the specified tile region (in x, y, z order if the region is a box), swizzling to optimal hardware memory layout as needed. In this CopyTiles call, you specify the source data with the hBuffer parameter and the destination with the hTiledResource parameter.
D3DWDDM1_3DDI_TILE_COPY_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER
The CopyTiles operation involves copying a swizzled tiled resource to a linear buffer. This means to copy tile data from the tile region, reading tiles sequentially (in x, y, z order if the region is a box), to the specified buffer location, deswizzling to linear memory layout as needed. In this CopyTiles call, you specify the source data with the hTiledResource parameter and the destination with the hBuffer parameter.

Requirements

Requirement Value
Minimum supported client Windows 8.1,WDDM 1.3
Minimum supported server Windows Server 2012 R2
Header d3d10umddi.h (include D3d10umddi.h)

See also

CopyTiles