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

fz_shdr_get_noise_type

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(

fz_shdr_turb_type_enum *

lval )

Parameters

lval [Result]

The current value of the noise type 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