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