neuray API Programmer's Manual

mi::IParameter Class Reference

[Simple Types]

Description

Parameter indices are used to represent special values of MDL parameters. MDL allows to specify a parameter in terms of another parameter. These references are represented as parameter indices. The value is the position of the referenced parameter in the parameter list.

See also:

mi::neuraylib::IMdl_material_definition, mi::neuraylib::IMdl_material_instance, mi::neuraylib::IMdl_function_definition, mi::neuraylib::IMdl_function_call. mi::neuraylib::IMdl_compiled_material

Public Member Functions

virtual void get_value( Uint32& val) const =0
Returns the value of the parameter index.
Uint32 get_value() const
Returns the value of the parameter index.
virtual void set_value( Uint32 val) =0
Sets the value of the parameter index.

Member Functions

virtual void mi::​IParameter::get_value( Uint32& val) const [pure virtual]

Returns the value of the parameter index.

Uint32 mi::​IParameter::get_value() const [inline]

Returns the value of the parameter index.

virtual void mi::​IParameter::set_value( Uint32 val) [pure virtual]

Sets the value of the parameter index.