formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Shaders
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(
fuim_tmpl, | |
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
Defined in