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