Files
mql5-skills/skills/mql5/references/docs/31-directx/1077-directx-dxinputset.md
T
2026-06-23 21:47:51 +08:00

26 lines
616 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# DXInputSet
Sets shader inputs.
```
bool  DXInputSet(
   int          input,      // graphic context handle
   const void&  data        // data for setting  
   );
```
Parameters
input
[in]  Handle of inputs for a shader obtained in [DXInputCreate()](/en/docs/directx/dxinputcreate).
data
[in]  Data for setting shader inputs.
Return Value
In case of successful execution, returns true, otherwise - false. To receive an [error](/en/docs/constants/errorswarnings/errorcodes) code, the [GetLastError()](/en/docs/check/getlasterror) function should be called.