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

Indices for temporaries are used to represent common sub-expressions in compiled MDL materials. More...

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

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0x71be6cc7, 0x3975, 0x456e, 0xb7, 0x28, 0xcd, 0xbf, 0x6e, 0xcb, 0x23, 0x80, 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< 0x71be6cc7, 0x3975, 0x456e, 0xb7, 0x28, 0xcd, 0xbf, 0x6e, 0xcb, 0x23, 0x80, 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

Indices for temporaries are used to represent common sub-expressions in compiled MDL materials.

See Also
mi::neuraylib::IMdl_compiled_material

Member Function Documentation

virtual void mi::ITemporary::get_value ( Uint32 val) const
pure virtual

Returns the value of the temporary index.

Uint32 mi::ITemporary::get_value ( ) const
inline

Returns the value of the temporary index.

virtual void mi::ITemporary::set_value ( Uint32  val)
pure virtual

Sets the value of the temporary index.