Microsoft DirectX 9.0 |
The get_Similarity method retrieves 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.
Syntax
HRESULT get_Similarity(
int *pVal
);
Parameters
pVal
[out, retval] Pointer to a variable that receives the similarity value.
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