// d3d10umddi.h
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
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Updates tiles by copying from app memory to the tiled resource.
hDeviceA handle to the display device (graphics context).
hDestTiledResourceA handle to the tiled resource.
pDestTileRegionStartCoordA pointer to a D3DWDDM1_3DDI_TILED_RESOURCE_COORDINATE structure that describes the starting coordinates of the tiled resource.
pDestTileRegionSizeA pointer to a D3DWDDM1_3DDI_TILE_REGION_SIZE structure that describes the size of the tiled region.
pSourceTileDataA pointer to memory that contains the source tile data that this function uses to update the tiled resource.
FlagsA 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.
The driver can use the pfnSetErrorCb callback function to set an error code.
The Direct3D runtime does not expect this function to fail.
D3DWDDM1_3DDI_TILED_RESOURCE_COORDINATE
D3DWDDM1_3DDI_TILE_REGION_SIZE