formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Render Materials

# fz_shdr_ptr_set_shdr_type

Description

Sets a type of a render shader. The shader type is identified by the uuid parameter. The shader parameters are initialized to the defaults.

Plugin Prototype

fzrt_error_td fz_shdr_ptr_set_shdr_type(

fzrt_int | windex,
fz_shdr_ptr | shdr,
fzrt_UUID_td | shdr_uuid )

Parameters

windex [Input]

project window index

shdr [Input]

shader

shdr_uuid [Input]

shader type

Returns

Error codes

Availability

5.0.0.0

Example Files

util_attr_rmtl.fsl
util_rmtl.fsl

Function Set

fz_rmtl_fset

Defined in

fz_rmtl_api.h