NVIDIA Iray API Home  Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::IParameter Class Referenceabstract

Parameter indices are used to represent special values of MDL parameters. More...

Inheritance diagram for mi::IParameter:
Inheritance graph
[legend]

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0xbdef76e3, 0x465e, 0x471c, 0xb9, 0x70, 0x5f, 0x2f, 0x2d, 0xad, 0x35, 0xd4, IData_simple >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
IData_simple
Self
  Own type. More...
 
typedef Uuid_t< id1, id2, id3,
id4, id5, id6, id7, id8, id9,
id10, id11 > 
IID
  Declares the interface ID (IID) of this interface. More...
 
- Static Public Member Functions inherited from mi::base::Interface_declare< 0xbdef76e3, 0x465e, 0x471c, 0xb9, 0x70, 0x5f, 0x2f, 0x2d, 0xad, 0x35, 0xd4, IData_simple >
static bool  compare_iid (const Uuid &iid)
  Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed 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

Member Function Documentation

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.