ScaleArrayAlphaOnly method

Applies alpha portion of a lookup table to an array of DXSAMPLE structures.


DXSAMPLE retVal = object.ScaleArrayAlphaOnly(pBuffer, cSamples);


  • pBuffer [in]
    Type: [DXSAMPLE](aa743764(v=vs.85).md)

    Pointer to a DXSAMPLE object that specifies the source array of DXSAMPLE structures.

  • cSamples [in]
    Type: unsigned long

    Value of type unsigned long that specifies the number of samples to convert.