Microsoft DirectX 9.0

IDxtKey::get_Luminance

The get_Luminance method retrieves the luminance value on which to key. This property applies only when the key type is DXTKEY_LUMINANCE.

Syntax

HRESULT get_(
    int *pVal
);

Parameters

pVal

[out, retval] Pointer to a variable that receives the luminance value on which to key.

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