LuxCore
2.0
|
LuxCore is the LuxCoreRender C++/Python API. More...
#include <cstddef>
#include <stdexcept>
#include <string>
#include <luxcore/cfg.h>
#include <luxrays/utils/exportdefs.h>
#include <luxrays/utils/properties.h>
#include <luxrays/utils/cyhair/cyHairFile.h>
Go to the source code of this file.
Classes | |
class | luxcore::Film |
Film stores all the outputs of a rendering. It can be obtained from a RenderSession or as stand alone object loaded from a file. More... | |
class | luxcore::Camera |
Camera stores camera definitions. More... | |
class | luxcore::Scene |
Scene stores textures, materials and objects definitions. More... | |
class | luxcore::RenderConfig |
RenderConfig stores all the configuration settings used to render a scene. More... | |
class | luxcore::RenderState |
RenderState is used to resume a rendering from a previous saved point. More... | |
class | luxcore::RenderSession |
RenderSession executes a rendering based on the RenderConfig provided. More... | |
Namespaces | |
luxcore | |
The LuxCore classes are defined within this namespace. | |
Macros | |
#define | LC_LOG(a) { if (luxcore::LuxCore_LogHandler) { std::stringstream _LUXCORE_LOG_LOCAL_SS; _LUXCORE_LOG_LOCAL_SS << a; luxcore::LuxCore_LogHandler(_LUXCORE_LOG_LOCAL_SS.str().c_str()); } } |
Functions | |
CPP_EXPORT CPP_API void | luxcore::Init (void(*LogHandler)(const char *)=NULL) |
Initializes LuxCore API. This function has to be called before anything else. This function is thread safe. More... | |
CPP_EXPORT CPP_API void | luxcore::SetLogHandler (void(*LogHandler)(const char *)=NULL) |
Initializes LuxCore API. This function can be called if you want to update the log handler. More... | |
CPP_EXPORT CPP_API void | luxcore::ParseLXS (const std::string &fileName, luxrays::Properties &renderConfig, luxrays::Properties &scene) |
Parses a scene described using LuxRender SDL (Scene Description Language). More... | |
CPP_EXPORT CPP_API void | luxcore::KernelCacheFill (const luxrays::Properties &config, void(*ProgressHandler)(const size_t, const size_t)=NULL) |
File the OpenCL kernel cache with entries. More... | |
CPP_EXPORT CPP_API luxrays::Properties | luxcore::GetPlatformDesc () |
Return a list of properties describing the features available. The properties currently supported are: More... | |
CPP_EXPORT CPP_API luxrays::Properties | luxcore::GetOpenCLDeviceDescs () |
Return the list of OpenCL devices available. For instance: More... | |
Variables | |
CPP_EXPORT CPP_API void(* | luxcore::LuxCore_LogHandler )(const char *msg) |
LuxCore is the LuxCoreRender C++/Python API.
Definition in file luxcore.h.
#define LC_LOG | ( | a | ) | { if (luxcore::LuxCore_LogHandler) { std::stringstream _LUXCORE_LOG_LOCAL_SS; _LUXCORE_LOG_LOCAL_SS << a; luxcore::LuxCore_LogHandler(_LUXCORE_LOG_LOCAL_SS.str().c_str()); } } |