formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Render Materials
Description
Parameter identifiers for a surface style. Used for the "which" argument of and fz_rmtl_set_parm.
enum fz_rmtl_parm_enum {
FZ_RMTL_PARM_NAME,
FZ_RMTL_PARM_COL_SHADER,
FZ_RMTL_PARM_REF_SHADER,
FZ_RMTL_PARM_TRN_SHADER,
FZ_RMTL_PARM_BMP_SHADER,
FZ_RMTL_PARM_SHADER_AA_ON,
FZ_RMTL_PARM_SHADER_AA_COL_ON,
FZ_RMTL_PARM_SHADER_AA_COL_QUAL,
FZ_RMTL_PARM_SHADER_AA_COL_SPACE,
FZ_RMTL_PARM_SHADER_AA_REF_ON,
FZ_RMTL_PARM_SHADER_AA_REF_QUAL,
FZ_RMTL_PARM_SHADER_AA_REF_SPACE,
FZ_RMTL_PARM_SHADER_AA_BMP_ON,
FZ_RMTL_PARM_SHADER_AA_BMP_QUAL,
FZ_RMTL_PARM_SHADER_AA_BMP_SPACE,
FZ_RMTL_PARM_SIMPLE_BY_AVERGE_OBSOLETE,
FZ_RMTL_PARM_SIMPLE_COLOR_OBSOLETE,
FZ_RMTL_PARM_SIMPLE_TRANS_OBSOLETE };
Members
FZ_RMTL_PARM_NAME
surface style name. The name cannot be longer than 32 characters.
Type: char*
FZ_RMTL_PARM_COL_SHADER
color shader of a surface style
Type: fz_shdr_ptr
FZ_RMTL_PARM_REF_SHADER
reflection shader of a surface style
Type: fz_shdr_ptr
FZ_RMTL_PARM_TRN_SHADER
transparency shader of a surface style
Type: fz_shdr_ptr
FZ_RMTL_PARM_BMP_SHADER
bump shader of a surface style
Type: fz_shdr_ptr
FZ_RMTL_PARM_SHADER_AA_ON
Shader antialiasing on (TRUE) or off (FALSE).
Type: fzrt_boolean
FZ_RMTL_PARM_SHADER_AA_COL_ON
Apply shader antialiasing for the color shader of a surface style
Type: fzrt_boolean
FZ_RMTL_PARM_SHADER_AA_COL_QUAL
shader antialiasing quality for the color shader of a surface style
Type: fz_rmtl_parm_shdraa_qual_enum
FZ_RMTL_PARM_SHADER_AA_COL_SPACE
which space to use for shader antialiasing the color shader of a surface style
Type: fz_rmtl_parm_shdraa_space_enum
FZ_RMTL_PARM_SHADER_AA_REF_ON
Apply shader antialiasing for the reflection shader of a surface style
Type: fzrt_boolean
FZ_RMTL_PARM_SHADER_AA_REF_QUAL
shader antialiasing quality for the reflection shader of a surface style
Type: fz_rmtl_parm_shdraa_qual_enum
FZ_RMTL_PARM_SHADER_AA_REF_SPACE
which space to use for shader antialiasing the reflection shader of a surface style
Type: fz_rmtl_parm_shdraa_space_enum
FZ_RMTL_PARM_SHADER_AA_BMP_ON
Apply shader antialiasing for the bump shader of a surface style
Type: fzrt_boolean
FZ_RMTL_PARM_SHADER_AA_BMP_QUAL
shader antialiasing quality for the bump shader of a surface style
Type: fz_rmtl_parm_shdraa_qual_enum
FZ_RMTL_PARM_SHADER_AA_BMP_SPACE
which space to use for shader antialiasing the bump shader of a surface style
Type: fz_rmtl_parm_shdraa_space_enum
FZ_RMTL_PARM_SIMPLE_BY_AVERGE_OBSOLETE
Average simple color and transparency from RenderZone parameters of a surface style Obsolete: This functionality is no longer available. It has been automated. Simple surface style representation now has its own parameters and api's.
Type: fzrt_boolean
FZ_RMTL_PARM_SIMPLE_COLOR_OBSOLETE
Explicitly set simple surface style color Obsolete: This functionality is no longer available. It has been automated. Simple surface style representation now has its own parameters and api's.
Type: rgb
FZ_RMTL_PARM_SIMPLE_TRANS_OBSOLETE
Explicitly set simple surface style transparency Obsolete: This functionality is no longer available. It has been automated. Simple surface style representation now has its own parameters and api's.
Type: double
Range: 0.0 <= value <= 1.0
Availability
5.0.0.0
Example Files
util_attr_rmtl.fsl
util_rmtl.fsl
See Also
Defined in