7#ifndef MI_NEURAYLIB_FACTORY_H
8#define MI_NEURAYLIB_FACTORY_H
101 INeuray_factory* factory =
reinterpret_cast<INeuray_factory*
>( symbol);
Handle class template for interfaces, automatizing the lifetime control via reference counting.
Definition: handle.h:113
The basic extensible interface.
Definition: iinterface.h:103
The Allocator interface class supports allocating and releasing memory dynamically and querying the a...
Definition: iallocator.h:32
This is an object representing the DiCE library.
Definition: ineuray.h:44
Handle<New_interface> get_interface() const
Returns a new handle for a possibly different interface type, similar to a dynamic cast,...
Definition: handle.h:353
unsigned int Uint32
32-bit unsigned integer.
Definition: types.h:49
mi::neuraylib::INeuray * mi_neuray_factory_deprecated(mi::neuraylib::IAllocator *allocator=0, mi::Uint32 version=MI_NEURAYLIB_API_VERSION)
Unique public access point to the DiCE API.
mi::base::IInterface * mi_factory(const mi::base::Uuid &iid)
Unique public access point to the DiCE API.
#define MI_NEURAYLIB_API_VERSION
ABI version number.
Definition: version.h:32
Smart-pointer handle class for interfaces, const and non-const version.
T * mi_factory(void *symbol)
Convenience function to ease the use of mi_factory().
Definition: factory.h:98
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: dice.h:89
Major and minor version number and an optional qualifier.
A 128 bit representation of a universally unique identifier (UUID or GUID).
Definition: uuid.h:26
A 128 bit representation of a universally unique identifier (UUID or GUID).