rtcIntersect1Mp.3embree3 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. .TH "rtcIntersect1Mp" "3" "" "" "Embree Ray Tracing Kernels 3"
  2. .SS NAME
  3. .IP
  4. .nf
  5. \f[C]
  6. rtcIntersect1Mp\ \-\ finds\ the\ closest\ hits\ for\ a\ stream\ of\ M\ pointers
  7. \ \ to\ single\ rays
  8. \f[]
  9. .fi
  10. .SS SYNOPSIS
  11. .IP
  12. .nf
  13. \f[C]
  14. #include\ <embree3/rtcore.h>
  15. void\ rtcIntersect1Mp(
  16. \ \ RTCScene\ scene,
  17. \ \ struct\ RTCIntersectContext*\ context,
  18. \ \ struct\ RTCRayHit**\ rayhit,
  19. \ \ unsigned\ int\ M
  20. );
  21. \f[]
  22. .fi
  23. .SS DESCRIPTION
  24. .PP
  25. The \f[C]rtcIntersect1Mp\f[] function finds the closest hits for a
  26. stream of \f[C]M\f[] single rays (\f[C]rayhit\f[] argument) with the
  27. scene (\f[C]scene\f[] argument).
  28. The \f[C]rayhit\f[] argument points to an array of pointers to the
  29. individual ray/hit structures.
  30. See Section [rtcIntersect1] for a description of how to set up and trace
  31. a ray.
  32. .IP
  33. .nf
  34. \f[C]
  35. \f[]
  36. .fi
  37. .IP
  38. .nf
  39. \f[C]
  40. \f[]
  41. .fi
  42. .PP
  43. A ray in a ray stream is considered inactive if its \f[C]tnear\f[] value
  44. is larger than its \f[C]tfar\f[] value.
  45. .PP
  46. The stream size \f[C]M\f[] can be an arbitrary positive integer
  47. including 0.
  48. Each ray must be aligned to 16 bytes.
  49. .SS EXIT STATUS
  50. .PP
  51. For performance reasons this function does not do any error checks, thus
  52. will not set any error flags on failure.
  53. .SS SEE ALSO
  54. .PP
  55. [rtcOccluded1Mp]