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

fz_shdr_set_solid

Description

This function can only be called inside the set_parameters callback function when implementing a plugin or script shader. It determines whether a shader is a 3d (solid) shader or not. Among other things, this influences where in a shader menu the name of the shader is placed.
If this function is not called, the shader is not considered to be 3d.

Plugin Prototype

void fz_shdr_set_solid(

fzrt_boolean

lval )

Parameters

lval [Input]

TRUE if the shader is 3d (solid), FALSE otherwise.

Returns

none

Availability

5.0.0.0

See Also

fz_shdr_set_wrapped

Function Set

fz_shdr_fset


Defined in

fz_rzne_shdr_api.h