Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PackAndMove

PackAndMove method

Places a buffer of ARGB32 samples into the output surface and moves the sample pointer.

Syntax


void retVal = object.PackAndMove(pSamples, cSamples);

Parameters

pSamples [in]

Type: const DXSAMPLE

Pointer to the sample values to pack into the destination surface. If the surface pixel format is ARGB32, the pointer can be NULL, in which case no data copy is performed, but the current pointer location is still updated.

cSamples [in]

Type: unsigned long

Number of samples to convert.

Remarks

This method advances the horizontal position of the pointer to the samples by cSamples amount. If the pixel format of the underlying surface is not ARGB32, this method converts the samples into the underlying native pixel format.

See also

Reference
IDXARGBReadWritePtr::PackPremultAndMove
IDXARGBReadWritePtr::PackRect

 

 

Show:
© 2015 Microsoft