Metodo ID3DXTextureShader::SetInt
Imposta un valore intero.
Sintassi
HRESULT SetInt(
[in] D3DXHANDLE hConstant,
[in] INT n
);
Parametri
-
hConstant [in]
-
Tipo: D3DXHANDLE
Identificatore univoco della costante. Vedere D3DXHANDLE.
-
n [in]
-
Tipo: INT
Valore intero.
Valore restituito
Tipo: HRESULT
Se il metodo ha esito positivo, il valore restituito è D3D_OK. Se il metodo ha esito negativo, il valore restituito può essere D3DERR_INVALIDCALL.
Requisiti
Requisito | Valore |
---|---|
Intestazione |
|
Libreria |
|
Vedi anche