Microsoft DirectX 9.0

IDxtKey::put_KeyType

The put_KeyType method specifies the type of key.

Syntax

HRESULT put_KeyType(
    int newVal
);

Parameters

newVal

[in] Specifies the key type. This parameter must be one of the following enumeration values.

Value Description
DXTKEY_RGB Chroma key. (Key on RGB value.)
DXTKEY_NONRED Nonred key. (Makes blue and green areas transparent.)
DXTKEY_LUMINANCE Luminance key.
DXTKEY_ALPHA Key by alpha value.
DXTKEY_HUE Key by hue.

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