D3D10_DDIARG_SUBRESOURCE_UP structure (d3d10umddi.h)

The D3D10_DDIARG_SUBRESOURCE_UP structure describes initialization information about a subresource.

Syntax

typedef struct D3D10_DDIARG_SUBRESOURCE_UP {
  [in] VOID *pSysMem;
  [in] UINT SysMemPitch;
  [in] UINT SysMemSlicePitch;
} D3D10_DDIARG_SUBRESOURCE_UP;

Members

[in] pSysMem

A pointer to a buffer that contains the contents of the subresource to copy from.

[in] SysMemPitch

The pitch, in bytes, of the surface--that is, the distance, in bytes, to the start of the next row.

[in] SysMemSlicePitch

The pitch, in bytes, of the depth slice--that is, the distance, in bytes, to the start of the next depth, where a 3-D subresource is composed of width x rows x depth.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3d10umddi.h (include D3d10umddi.h)

See also

D3D10DDIARG_CREATERESOURCE