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

fz_shdr_set_wrapped

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(

fzrt_boolean

bval )

Parameters

bval [Input]

TRUE if the shader is 2d (wrapped), FALSE otherwise.

Returns

none

Availability

5.0.0.0

See Also

fz_shdr_set_solid

Function Set

fz_shdr_fset


Defined in

fz_rzne_shdr_api.h