PFND3DWDDM1_3DDI_UPDATETILES callback function

Updates tiles by copying from app memory to the tiled resource.

Syntax

PFND3DWDDM1_3DDI_UPDATETILES Pfnd3dwddm13DdiUpdatetiles;

void Pfnd3dwddm13DdiUpdatetiles(
  D3D10DDI_HDEVICE hDevice,
  D3D10DDI_HRESOURCE hDestTiledResource,
  const D3DWDDM1_3DDI_TILED_RESOURCE_COORDINATE *pDestTileRegionStartCoord,
  const D3DWDDM1_3DDI_TILE_REGION_SIZE *pDestTileRegionSize,
  const VOID *pSourceTileData,
  UINT Flags
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

hDestTiledResource

A handle to the tiled resource.

pDestTileRegionStartCoord

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

pDestTileRegionSize

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

pSourceTileData

A pointer to memory that contains the source tile data that this function uses to update the tiled resource.

Flags

A combination of values of type D3DWDDM1_3DDI_TILE_COPY_FLAG that are combined by using a bitwise OR operation. The only valid value is D3DWDDM1_3DDI_TILE_COPY_NO_OVERWRITE. The other enumeration constant values aren't meaningful here, though by definition using D3DWDDM1_3DDI_TILE_COPY_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER results in what the UpdateTiles function does, sourcing from app memory.

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

UpdateTiles

pfnSetErrorCb