formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Shaders
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 2d (wrapped) 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 2d.
Plugin Prototype
void fz_shdr_set_wrapped(
bval ) |
Parameters
bval [Input]
TRUE if the shader is 2d (wrapped), FALSE otherwise.
Returns
none
Availability
5.0.0.0
See Also
Function Set
Defined in