Compatible With Scripts

 

vecF4 GetInput (object obj, void shader_input, int index )

 

Return Value: value of the input at index as RGBA

 

Arguments:

obj shader to get 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
 

Gets the value of a shader's input. You tell messiah which input you wish to adjust by specifying 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)