ID3DXEffect :: ValidateTechnique, méthode
Valider une technique.
Syntaxe
HRESULT ValidateTechnique(
[in] D3DXHANDLE hTechnique
);
Paramètres
-
hTechnique [ dans]
-
Type : D3DXHANDLE
Identificateur unique. Consultez Handles (Direct3D 9).
Valeur de retour
Type : HRESULT
Si la méthode est réussie, la valeur de retour est D3D _ OK. Si la méthode échoue, la valeur de retour peut être l’une des suivantes : D3DERR _ INVALIDCALL, D3DERR _ CONFLICTINGRENDERSTATE, D3DERR _ CONFLICTINGTEXTUREFILTER, D3DERR _ DEVICELOST, D3DERR _ DRIVERINTERNALERROR, D3DERR _ TOOMANYOPERATIONS, D3DERR _ UNSUPPORTEDALPHAARG, D3DERR _ UNSUPPORTEDALPHAOPERATION, D3DERR _ UNSUPPORTEDCOLORARG, D3DERR _ UNSUPPORTEDCOLOROPERATION, D3DERR _ UNSUPPORTEDFACTORVALUE, D3DERR _ UNSUPPORTEDTEXTUREFILTER et D3DERR _ WRONGTEXTUREFORMAT.
Spécifications
| Condition requise | Valeur |
|---|---|
| En-tête |
|
| Bibliothèque |
|