MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / GetPlatformDesc

Method GetPlatformDesc

src/luxcore/luxcore.cpp:180–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178//------------------------------------------------------------------------------
179
180Properties luxcore::GetPlatformDesc() {
181 Properties props;
182
183 static const string luxCoreVersion(LUXCORE_VERSION_MAJOR "." LUXCORE_VERSION_MINOR);
184 props << Property("version.number")(luxCoreVersion);
185
186#if defined(LUXRAYS_DISABLE_OPENCL)
187 props << Property("compile.LUXRAYS_DISABLE_OPENCL")(true);
188#else
189 props << Property("compile.LUXRAYS_DISABLE_OPENCL")(false);
190#endif
191
192 props << Property("compile.LUXCORE_DISABLE_EMBREE_BVH_BUILDER")(false);
193
194 return props;
195}
196
197//------------------------------------------------------------------------------
198// GetOpenCLDeviceDescs

Callers 2

LuxCoreHasOpenCLFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected