Expand Minimize

D3DDDIARG_UPDATESUBRESOURCEUP structure

Describes info that's used to update a destination subresource region from a source system-memory region. Used by Windows Display Driver Model (WDDM) 1.3 and later user-mode display drivers.

Syntax


typedef struct D3DDDIARG_UPDATESUBRESOURCEUP {
  HANDLE              hResource;
  UINT                SubResourceIndex;
  D3DDDIBOX           DstBox;
  const VOID          *pSysMemUP;
  UINT                RowPitch;
  UINT                DepthPitch;
  D3DDDIARG_COPYFLAGS Flags;
} D3DDDIARG_UPDATESUBRESOURCEUP;

Members

hResource

A handle to the destination resource to copy to.

SubResourceIndex

The index of the destination subresource to which data is to be copied.

DstBox

A destination region, of type D3DDDIBOX, of the subresource to which data is to be copied. If Flags->BoxValid is not set, the entire subresource must be updated.

pSysMemUP

A pointer to the beginning address of the source data that the pfnUpdateSubresourceUP function copies to update the destination subresouce.

RowPitch

The offset, in bytes, to move to the next row of source data.

DepthPitch

The offset, in bytes, to move to the next depth slice of source data.

Flags

A D3DDDIARG_COPYFLAGS structure that specifies additional characteristics of the subresource update operation.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Header

D3dumddi.h (include D3d10umddi.h)

See also

D3DDDIARG_COPYFLAGS
D3DDDIBOX
pfnUpdateSubresourceUP

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft