CopyTileMappings routine

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

Syntax


PFND3DWDDM1_3DDI_COPYTILEMAPPINGS CopyTileMappings;

VOID APIENTRY* CopyTileMappings(
  D3D10DDI_HDEVICE hDevice,
  D3D10DDI_HRESOURCE hDestTiledResource,
  _In_  const D3DWDDM1_3DDI_TILED_RESOURCE_COORDINATE *pDestRegionStartCoord,
  D3D10DDI_HRESOURCE hSourceTiledResource,
  _In_  const D3DWDDM1_3DDI_TILED_RESOURCE_COORDINATE *pSourceRegionStartCoord,
  _In_  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 [in]

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 [in]

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

pTileRegionSize [in]

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

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

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Version

WDDM 1.3

Header

D3d10umddi.h (include D3d10umddi.h)

See also

D3DWDDM1_3DDI_TILE_MAPPING_FLAG
D3DWDDM1_3DDI_TILE_REGION_SIZE
D3DWDDM1_3DDI_TILED_RESOURCE_COORDINATE
pfnSetErrorCb

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft