D3DDDIARG_UPDATESUBRESOURCEUP - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

typedef struct D3DDDIARG_UPDATESUBRESOURCEUP {
  HANDLE              hResource;
  UINT                SubResourceIndex;
  D3DDDIBOX           DstBox;
  const VOID          *pSysMemUP;
  UINT                RowPitch;
  UINT                DepthPitch;
  D3DDDIARG_COPYFLAGS Flags;
} D3DDDIARG_UPDATESUBRESOURCEUP;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dumddi-d3dddiarg_updatesubresourceup)

D3DDDIARG_UPDATESUBRESOURCEUP structure

Description

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.

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 subresource.

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.

See also

D3DDDIARG_COPYFLAGS

D3DDDIBOX

pfnUpdateSubresourceUP