neuray API Programmer's Manual

mi::ITemporary Class Reference

[Simple Types]

Description

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

See also:

mi::neuraylib::IMdl_compiled_material

Public Member Functions

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

Member Functions

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.