PFND3DWDDM1_3DDI_COPYTILES callback function

Copies tiles from buffer to tiled resource or vice versa.

Syntax

PFND3DWDDM1_3DDI_COPYTILES Pfnd3dwddm13DdiCopytiles;

void Pfnd3dwddm13DdiCopytiles(
  D3D10DDI_HDEVICE hDevice,
  D3D10DDI_HRESOURCE hTiledResource,
  const D3DWDDM1_3DDI_TILED_RESOURCE_COORDINATE *pTileRegionStartCoord,
  const D3DWDDM1_3DDI_TILE_REGION_SIZE *pTileRegionSize,
  D3D10DDI_HRESOURCE hBuffer,
  UINT64 BufferStartOffsetInBytes,
  UINT Flags
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

hTiledResource

A handle to the tiled resource.

pTileRegionStartCoord

A pointer to a D3DWDDM1_3DDI_TILED_RESOURCE_COORDINATE structure that describes the starting coordinates of the destination tiled resource.

pTileRegionSize

A pointer to a D3DWDDM1_3DDI_TILE_REGION_SIZE structure that describes the size of the tiled region.

hBuffer

A handle to a resource that represents a default, dynamic, or staging buffer.

BufferStartOffsetInBytes

The offset, in bytes, into the buffer at hBuffer to start the operation.

Flags

A combination of D3DWDDM1_3DDI_TILE_COPY_FLAG values that are combined by using a bitwise OR operation.

Return Value

None

The driver can use the pfnSetErrorCb callback function to set an error code.

The Direct3D runtime does not expect this function to fail.

Requirements

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

See Also

D3DWDDM1_3DDI_TILED_RESOURCE_COORDINATE

D3DWDDM1_3DDI_TILE_COPY_FLAG

D3DWDDM1_3DDI_TILE_REGION_SIZE

pfnSetErrorCb