factory.h File Reference
Description
Main factory function.
Code Example
factory.h
//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************
#ifndef MI_NEURAYLIB_FACTORY_H
#define MI_NEURAYLIB_FACTORY_H
#include <mi/base/types.h>
#include <mi/neuraylib/version.h>
namespace mi {
namespace neuraylib {
class IAllocator;
class INeuray;
} // namespace neuraylib
} // namespace mi
extern "C"
{
MI_DLL_EXPORT
mi::neuraylib::INeuray* mi_neuray_factory(
mi::neuraylib::IAllocator* allocator = 0, mi::Uint32 version = MI_NEURAYLIB_API_VERSION);
}
// end group mi_neuray_ineuray
#endif // MI_NEURAYLIB_FACTORY_H
Namespaces
- namespace
- Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
- namespace
- Namespace for the neuray API. More...
Typedefs
- typedef unsigned int
- 32-bit unsigned integer. More...
Functions
- mi::neuraylib::INeuray* ( mi::neuraylib::IAllocator* allocator = 0, mi::Uint32 version = MI_NEURAYLIB_API_VERSION)
- Unique public access point to the neuray API. More...