ID3DXBaseEffect::SetInt method
Sets an integer.
Syntax
HRESULT SetInt(
[in] D3DXHANDLE hParameter,
[in] INT n
);
Parameters
-
hParameter [in]
-
Type: D3DXHANDLE
Unique identifier. See Handles (Direct3D 9).
-
n [in]
-
Type: INT
Integer value.
Return value
Type: HRESULT
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also