Compatible With Scripts

 

int SetInput (object obj, void shader_input, int index, arbitraryvalue )

 

Return Value: 1 = success, 0 = failure

 

Arguments:

obj shader to set input value for (passed to you by messiah)
shader_input internal value passed to you by messiah
index 0 based index of the input on the shader to change
value new value for that input
 

Sets the value of a shader's input. You tell messiah which input you wish to adjust by sepcifing an index value, you should have previously stored this value as returned by fxShaderCreateInput.Both the obj and the shader_input values are passed to your shader function by messiah, if messiah doesn't pass these values to a particular function it should be assumed that it is not safe to call this function from there.

Converted from CHM to HTML with chm2web Pro 2.82 (unicode)