PFND3DWDDM1_3DDI_UPDATETILES callback function

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

Syntax


PFND3DWDDM1_3DDI_UPDATETILES UpdateTiles;

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

Parameters

hDevice

A handle to the display device (graphics context).

hDestTiledResource

A handle to the tiled resource.

pDestTileRegionStartCoord [in]

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

pDestTileRegionSize [in]

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

pSourceTileData [in]

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

Minimum supported server

Windows Server 2012 R2

Target platform

Desktop

Version

WDDM 1.3

Header

D3d10umddi.h (include D3d10umddi.h)

See also

D3DWDDM1_3DDI_TILE_COPY_FLAG
D3DWDDM1_3DDI_TILE_REGION_SIZE
D3DWDDM1_3DDI_TILED_RESOURCE_COORDINATE
pfnSetErrorCb
UpdateTiles

 

 

Send comments about this topic to Microsoft

Show: