Microsoft DirectX 9.0

IDxtAlphaSetter::get_AlphaRamp

The get_AlphaRamp method retrieves the alpha ramp property. The alpha ramp is the percentage by which the alpha values in the original image are adjusted. For example, if the alpha ramp is 0.5, the alpha values in the image are reduced 50%.

Syntax

HRESULT get_AlphaRamp(
    double *pAlpha
);

Parameters

pAlpha

[out, retval] Pointer to a variable that receives the alpha ramp. A negative value indicates that no alpha ramp is set.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_POINTER NULL pointer argument
S_OK Success

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also