formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Shaders

fz_shdr_get_noise_impulses

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 number of impulses 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 number of impulses stays constant for a shader during a rendering it should be retrieved in the pre_render function.

Plugin Prototype

void fz_shdr_get_noise_impulses(

fzrt_int *

lval )

Parameters

lval [Result]

The current value of the noise number of impulses parameter.

Returns

none

Availability

5.0.0.0

See Also

fz_shdr_set_noise_parm

Function Set

fz_shdr_fset


Defined in

fz_rzne_shdr_api.h