formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Shaders
Description
This function can only be called inside the pixel or pre_render
callback function when implementing a plugin or script
shader. It retrieves the current value of the
noise type shader parameter. This parameter must have
been declared in the set_parameters callback function
of the same shader via a call to fz_shdr_set_noise_parm().
Since the noise type stays constant for a shader during a rendering
it should be retrieved in the pre_render function.
Plugin Prototype
void fz_shdr_get_noise_type(
lval ) |
Parameters
lval [Result]
The current value of the noise type parameter.
Returns
none
Availability
5.0.0.0
See Also
Function Set
Defined in