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* ray,
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 (ray argument) with the scene (scene argument).
22 The ray argument points to an array of rays with specified byte stride
23 (byteStride argument) between the rays. See Section [rtcOccluded1] for
24 a description of how to set up and trace occlusion rays.
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 [rtcIntersect1M]
38
39
40
41 rtcOccluded1M(3)