PackPremultAndMove method

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

Syntax

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

Parameters

  • pSamples [in]
    Type: const DXPMSAMPLE

    Pointer to the sample values to pack into the destination surface. If the surface pixel format is PMARGB32, 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 PMARGB32, this method converts the samples into the underlying native pixel format.

See also

Reference

IDXARGBReadWritePtr::PackAndMove

IDXARGBReadWritePtr::PackRect