Expand Minimize

D3D10_DDIARG_SUBRESOURCE_UP structure

The D3D10_DDIARG_SUBRESOURCE_UP structure describes initialization information about a subresource.

Syntax


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

Members

pSysMem

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

SysMemPitch

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

SysMemSlicePitch

[in] 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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3d10umddi.h (include D3d10umddi.h)

See also

D3D10DDIARG_CREATERESOURCE

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft