formZ SDK | 4.0 Call Back Reference | RenderZone Shader

fz_shdr_cbak_fgnd_iface_tmpl

Description

Depth effect shader dialog function (optional). This function is called when the shader dialog is invoked. It is expected to create the editing items to display the content of the shader parameters.
The dialog template will be created by formZ. Unlike other interface callback functions, it is not necessary to call fz_fuim_tmpl_init to create the dialog template.
A number of utility functions are available to assist in laying out the dialog for a shader. In specific they are :
: retrieves the pointer to a shader parameter. This pointer can be used as input to the set range functions of a fuim item. fz_shdr_fuim_create_scale_items : Creates the standard scale items : Creates the standard noise items

Plugin Prototype

fzrt_error_td fz_shdr_cbak_fgnd_iface_tmpl(

fzrt_int

windex,

fz_fuim_tmpl_ptr

fuim_tmpl,

fz_shdr_ptr

shdr_ptr,

fzrt_int

parent_group )

Parameters

windex [Input]

project window index

fuim_tmpl [Input]

Pointer to the dialog template.

shdr_ptr [Input]

Pointer to the depth effect shader.

parent_group [Input]

The item group under which to construct the dialog items. This group id shoud be used as the parent id for all next level items created in the dialog template.

Returns

error code.

Availability

5.5.0.0

Function Set

fz_shdr_cbak_fgnd_fset


Defined in

fz_rzne_shdr_api.h