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

# fz_shdr_fuim_create_noise_items

Description

Creates the standard shader "Noise" interface items in a shader's option dialog. This function is designed to only be called from the fz_shdr_cbak_xxxx_iface_tmpl callback function of a plugin shader. It cannot be called from any other context.
The item ids of the noise menu, the impulses title and impulses text edit fields are optionally returned.

Plugin Prototype

fzrt_error_td fz_shdr_fuim_create_noise_items(

fz_fuim_tmpl_ptr | fuim_tmpl,
fz_shdr_ptr | shdr_ptr,
fzrt_int | parent_group,
fzrt_int * | menu_item_id,
fzrt_int * | title_item_id,
fzrt_int * | edit_item_id )

Parameters

fuim_tmpl [Input]

fuim manager

shdr_ptr [Input]

the shader for which to create the interface items. The shader pointer is passed to the fz_shdr_cbak_xxxx_iface_tmpl callback function and just needs to be passed on to this function.

parent_group [Input]

the parent group under which to create the items. The dialog's top group is passed into the fz_shdr_cbak_xxxx_iface_tmpl callback function.

menu_item_id [Result, Optional]

the id of the menu item

title_item_id [Result, Optional]

the id of the static text title item

edit_item_id [Result, Optional]

the id of the text edit item

Returns

Error codes.

Availability

5.5.0.0

Function Set

fz_shdr_fset

Defined in

fz_rzne_shdr_api.h