PFND3DWDDM1_3DDI_COPYTILEMAPPINGS callback function (d3d10umddi.h)

Copies mappings from a source tiled resource to a destination tiled resource.

Syntax

PFND3DWDDM1_3DDI_COPYTILEMAPPINGS Pfnd3dwddm13DdiCopytilemappings;

void Pfnd3dwddm13DdiCopytilemappings(
  D3D10DDI_HDEVICE hDevice,
  D3D10DDI_HRESOURCE hDestTiledResource,
  const D3DWDDM1_3DDI_TILED_RESOURCE_COORDINATE *pDestRegionStartCoord,
  D3D10DDI_HRESOURCE hSourceTiledResource,
  const D3DWDDM1_3DDI_TILED_RESOURCE_COORDINATE *pSourceRegionStartCoord,
  const D3DWDDM1_3DDI_TILE_REGION_SIZE *pTileRegionSize,
  UINT Flags
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

hDestTiledResource

A handle to the destination tiled resource.

pDestRegionStartCoord

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

hSourceTiledResource

A handle to the source tiled resource.

pSourceRegionStartCoord

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

pTileRegionSize

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

Flags

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

Return value

None

Remarks

The driver can use the pfnSetErrorCb callback function to set an error code. The driver can set E_INVALIDARG if an input parameter does not exist or is NULL.

Requirements

Requirement Value
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_MAPPING_FLAG

D3DWDDM1_3DDI_TILE_REGION_SIZE

pfnSetErrorCb