|Microsoft DirectX 9.0|
The put_Similarity method specifies the range of color data that becomes transparent. At higher values, a wider range of similar colors is transparent. This property applies only when the key type is DXTKEY_RGB or DXTKEY_NONRED.
HRESULT put_Similarity( int newVal );
[in] Specifies the similarity value. The valid range is from 0 to 100.
Returns S_OK or an error code.
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.