Microsoft DirectX 9.0

IDxtKey::put_Luminance

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

Syntax

HRESULT put_Luminance(
    int newVal
);

Parameters

newVal

[in] The luminance value on which to key. The valid range is from 0 to 100.

Return Values

Returns S_OK or an error code.

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