LuxCore
2.0
|
The LuxCore classes are defined within this namespace. More...
Classes | |
class | 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 | Camera |
Camera stores camera definitions. More... | |
class | Scene |
Scene stores textures, materials and objects definitions. More... | |
class | RenderConfig |
RenderConfig stores all the configuration settings used to render a scene. More... | |
class | RenderState |
RenderState is used to resume a rendering from a previous saved point. More... | |
class | RenderSession |
RenderSession executes a rendering based on the RenderConfig provided. More... | |
Functions | |
CPP_EXPORT CPP_API void | 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 | 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 | 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 | 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 | GetPlatformDesc () |
Return a list of properties describing the features available. The properties currently supported are: More... | |
CPP_EXPORT CPP_API luxrays::Properties | GetOpenCLDeviceDescs () |
Return the list of OpenCL devices available. For instance: More... | |
Variables | |
CPP_EXPORT CPP_API void(* | LuxCore_LogHandler )(const char *msg) |
The LuxCore classes are defined within this namespace.
CPP_EXPORT CPP_API luxrays::Properties luxcore::GetOpenCLDeviceDescs | ( | ) |
Return the list of OpenCL devices available. For instance:
CPP_EXPORT CPP_API luxrays::Properties luxcore::GetPlatformDesc | ( | ) |
Return a list of properties describing the features available. The properties currently supported are:
CPP_EXPORT CPP_API void luxcore::Init | ( | void(*)(const char *) | LogHandler = NULL | ) |
Initializes LuxCore API. This function has to be called before anything else. This function is thread safe.
LogHandler | is a pointer to a function receiving all LuxCore log messages. If it is NULL, the default handler will be used. |
CPP_EXPORT CPP_API void luxcore::KernelCacheFill | ( | const luxrays::Properties & | config, |
void(*)(const size_t, const size_t) | ProgressHandler = NULL |
||
) |
File the OpenCL kernel cache with entries.
config | defines how to fill the cache. The supported properties are: kernelcachefill.renderengine.types, kernelcachefill.sampler.types, kernelcachefill.camera.types, kernelcachefill.geometry.types, kernelcachefill.light.types, kernelcachefill.material.types, kernelcachefill.texture.types. They can be used to define the list of types to use, for instance with a Property("kernelcachefill.renderengine.types")("PATHOCL", "TILEPATHOCL", "RTPATHOCL"). |
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).
fileName | is the name of the file to parse. |
renderConfig | is where the rendering configuration properties are returned. |
scene | is where the scene properties are returned. |
CPP_EXPORT CPP_API void luxcore::SetLogHandler | ( | void(*)(const char *) | LogHandler = NULL | ) |
Initializes LuxCore API. This function can be called if you want to update the log handler.
LogHandler | is a pointer to a function receiving all LuxCore log messages. If it is NULL, there will no printed information. |