ScaleArrayAlphaOnly method

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

Syntax

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

Parameters

  • pBuffer [in]
    Type: DXSAMPLE

    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.