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