rtcNewBVH.3embree3 824 B

12345678910111213141516171819202122232425262728293031323334
  1. .TH "rtcNewBVH" "3" "" "" "Embree Ray Tracing Kernels 3"
  2. .SS NAME
  3. .IP
  4. .nf
  5. \f[C]
  6. rtcNewBVH\ \-\ creates\ a\ new\ BVH\ object
  7. \f[]
  8. .fi
  9. .SS SYNOPSIS
  10. .IP
  11. .nf
  12. \f[C]
  13. #include\ <embree3/rtcore.h>
  14. RTCBVH\ rtcNewBVH(RTCDevice\ device);
  15. \f[]
  16. .fi
  17. .SS DESCRIPTION
  18. .PP
  19. This function creates a new BVH object and returns a handle to this BVH.
  20. The BVH object is reference counted with an initial reference count of
  21. 1.
  22. The handle can be released using the \f[C]rtcReleaseBVH\f[] API call.
  23. .PP
  24. The BVH object can be used to build a BVH in a user\-specified format
  25. over user\-specified primitives.
  26. See the documentation of the \f[C]rtcBuildBVH\f[] call for more details.
  27. .SS EXIT STATUS
  28. .PP
  29. On failure an error code is set that can be queried using
  30. \f[C]rtcGetDeviceError\f[].
  31. .SS SEE ALSO
  32. .PP
  33. [rtcRetainBVH], [rtcReleaseBVH], [rtcBuildBVH]