| 178 | //------------------------------------------------------------------------------ |
| 179 | |
| 180 | Properties 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 |
no outgoing calls
no test coverage detected