GetSHGlobalInt
int GetSHGlobalFloat (void shader_global, int variable )
Return Value: value of variable
Arguments:
shader_global | messiah shader global that's passed to some Shader functions (i.e. ShaderEvaluate) |
variable | index of the variableto retrieve (see messiah_render.h for pre defined values) |
Retrieves a variable pertaining to the current pixel being rendered. Information such as the point in space, surface normal, light direction and so on is retrieved from this global. See the messiah_render.h header file for pre defined values to pass to this function.
Converted from CHM to HTML with chm2web Pro 2.82 (unicode) |