formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Shaders
Description
Creates the standard shader "Roughness" interface items in a reflection shader's option dialog. This function is designed to only be called from the callback function of a reflection plugin shader. It cannot be called from any other context.
Plugin Prototype
fzrt_error_td fz_shdr_fuim_create_specular_roughness_items(
fuim_tmpl, | |
shdr_ptr, | |
fzrt_int | parent_group, |
fzrt_int * | title_item_id, |
fzrt_int * | slider_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 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 callback function.
title_item_id [Result, Optional]
the id of the static text title item
slider_item_id [Result, Optional]
the id of the slider 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