1rtcOccluded1Mp(3) Embree Ray Tracing Kernels 3 rtcOccluded1Mp(3)
2
3
4
5 NAME
6 rtcOccluded1Mp - find any hits for a stream of M pointers to
7 single rays
8
9 SYNOPSIS
10 #include <embree3/rtcore.h>
11
12 void rtcOccluded1M(
13 RTCScene scene,
14 struct RTCIntersectContext* context,
15 struct RTCRay** rays,
16 unsigned int M
17 );
18
19 DESCRIPTION
20 The rtcOccluded1Mp 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 pointers to rays. Sec‐
23 tion [rtcOccluded1] for a description of how to set up and trace a
24 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 [rtcIntersect1Mp]
38
39
40
41 rtcOccluded1Mp(3)