Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
util.h File Reference

Go to the source code of this file.

Classes

class  mitsuba::Utility
 Abstract utility class – can be used to implement loadable utility plugins that perform various actions. They can be started using the 'mtsutil' launcher. More...
 

Namespaces

 mitsuba
 

Macros

#define __MITSUBA_RENDER_UTIL_H_
 
#define MTS_DECLARE_UTILITY()   MTS_DECLARE_CLASS()
 
#define MTS_EXPORT_UTILITY(name, descr)
 

Macro Definition Documentation

#define __MITSUBA_RENDER_UTIL_H_
#define MTS_DECLARE_UTILITY ( )    MTS_DECLARE_CLASS()
#define MTS_EXPORT_UTILITY (   name,
  descr 
)
Value:
MTS_IMPLEMENT_CLASS(name, false, Utility) \
extern "C" { \
void MTS_EXPORT *CreateUtility() { \
return new name(); \
} \
const char MTS_EXPORT *GetDescription() { \
return descr; \
} \
}
#define MTS_IMPLEMENT_CLASS(name, abstract, super)
Creates basic RTTI support for a class.
Definition: class.h:180
#define MTS_EXPORT
Definition: platform.h:86