formZ SDK | 4.0 Call Back Reference | RenderZone Shader
Description
Background shader main function (Required). It is expected to compute the color of a background pixel. It is called by formZ at least once for each pixel.
Plugin Prototype
fz_rgb_float_td fz_shdr_cbak_bgnd_pixel(
void * | shdr_data ) |
Parameters
shdr_data [Input]
Shader data. This is the pointer which was returned to formZ by the API callback function. It allows the plugin to pass data from the initialization stage to this function. Typically, this is information, which is precomputed once at rendering start.
Returns
The color of the background pixel.
Availability
5.0.0.0
Example Files
See Also
,
Function Set
Defined in