Compatible With Scripts

 

int SetOutput (object obj, void shader_output, int index, arbitraryvalue )

 

Return Value: 1 = success, 0 = failure

 

Arguments:

obj shader to set input value for (passed to you by messiah)
shader_output 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 output. You tell messiah which output you wish to adjust by sepcifing an index value, you should have previously stored this value as returned by fxShaderCreateOutput. Both the obj and the shader_output 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)