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().

data

[in]  Data for setting shader inputs.

Return Value

In case of successful execution, returns true, otherwise - false. To receive an error code, the GetLastError() function should be called.