config.h.in 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. // ======================================================================== //
  2. // Copyright 2009-2016 Intel Corporation //
  3. // //
  4. // Licensed under the Apache License, Version 2.0 (the "License"); //
  5. // you may not use this file except in compliance with the License. //
  6. // You may obtain a copy of the License at //
  7. // //
  8. // http://www.apache.org/licenses/LICENSE-2.0 //
  9. // //
  10. // Unless required by applicable law or agreed to in writing, software //
  11. // distributed under the License is distributed on an "AS IS" BASIS, //
  12. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. //
  13. // See the License for the specific language governing permissions and //
  14. // limitations under the License. //
  15. // ======================================================================== //
  16. #cmakedefine EMBREE_RAY_MASK
  17. #cmakedefine EMBREE_STAT_COUNTERS
  18. #cmakedefine EMBREE_BACKFACE_CULLING
  19. #cmakedefine EMBREE_INTERSECTION_FILTER
  20. #cmakedefine EMBREE_INTERSECTION_FILTER_RESTORE
  21. #cmakedefine EMBREE_RETURN_SUBDIV_NORMAL
  22. #cmakedefine EMBREE_IGNORE_INVALID_RAYS
  23. #cmakedefine EMBREE_GEOMETRY_TRIANGLES
  24. #cmakedefine EMBREE_GEOMETRY_QUADS
  25. #cmakedefine EMBREE_GEOMETRY_LINES
  26. #cmakedefine EMBREE_GEOMETRY_HAIR
  27. #cmakedefine EMBREE_GEOMETRY_SUBDIV
  28. #cmakedefine EMBREE_GEOMETRY_USER
  29. #cmakedefine EMBREE_RAY_PACKETS
  30. #cmakedefine EMBREE_NATIVE_CURVE_BSPLINE
  31. #if defined(EMBREE_GEOMETRY_TRIANGLES)
  32. #define IF_ENABLED_TRIS(x) x
  33. #else
  34. #define IF_ENABLED_TRIS(x)
  35. #endif
  36. #if defined(EMBREE_GEOMETRY_QUADS)
  37. #define IF_ENABLED_QUADS(x) x
  38. #else
  39. #define IF_ENABLED_QUADS(x)
  40. #endif
  41. #if defined(EMBREE_GEOMETRY_LINES)
  42. #define IF_ENABLED_LINES(x) x
  43. #else
  44. #define IF_ENABLED_LINES(x)
  45. #endif
  46. #if defined(EMBREE_GEOMETRY_HAIR)
  47. #define IF_ENABLED_HAIR(x) x
  48. #else
  49. #define IF_ENABLED_HAIR(x)
  50. #endif
  51. #if defined(EMBREE_GEOMETRY_SUBDIV)
  52. #define IF_ENABLED_SUBDIV(x) x
  53. #else
  54. #define IF_ENABLED_SUBDIV(x)
  55. #endif
  56. #if defined(EMBREE_GEOMETRY_USER)
  57. #define IF_ENABLED_USER(x) x
  58. #else
  59. #define IF_ENABLED_USER(x)
  60. #endif