neuray API Programmer's Manual

itemporary.h File Reference

Description

Numeric types.

Code Example

itemporary.h

‎//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef MI_NEURAYLIB_ITEMPORARY_H
#define MI_NEURAYLIB_ITEMPORARY_H

#include <mi/neuraylib/idata.h>

namespace mi {




class ITemporary :
    public base::Interface_declare<0x71be6cc7,0x3975,0x456e,0xb7,0x28,0xcd,0xbf,0x6e,0xcb,0x23,0x80,
                                   IData_simple>
{
public:
    virtual void get_value( Uint32& val) const = 0;

    virtual void set_value( Uint32 val) = 0;

    Uint32 
               get_value() const { Uint32 value; get_value( value); return value; }
};
 // end group mi_neuray_simple_types

} // namespace mi

#endif // MI_NEURAYLIB_ITEMPORARY_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...

Classes

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