1rtcOccludedNp(3)         Embree Ray Tracing Kernels 3         rtcOccludedNp(3)
2
3
4
5   NAME
6              rtcOccludedNp - finds any hits for a SOA ray stream of size N
7
8   SYNOPSIS
9              #include <embree3/rtcore.h>
10
11              void rtcOccludedNp(
12                RTCScene scene,
13                struct RTCIntersectContext* context,
14                struct RTCRayNp* ray,
15                unsigned int N
16              );
17
18   DESCRIPTION
19       The  rtcOccludedNp function checks whether there are any hits for a SOA
20       ray stream (ray argument) of size N (basically a large ray packet) with
21       the  scene (scene argument).  The ray argument points to a structure of
22       pointers with one pointer for each ray component.  Each of these point‐
23       ers  points to an array with the ray component data for each ray.  This
24       way the individual components of the SOA ray stream do not need  to  be
25       stored  sequentially  in  memory, which makes it possible to have large
26       varying size ray packets in SOA layout.  See Section [rtcOccluded1] for
27       a description of how to set up and trace occlusion rays.
28
29       A  ray  in  a  ray  stream is considered inactive if its tnear value is
30       larger than its tfar value.
31
32       The stream size N can be an arbitrary  positive  integer  including  0.
33       Each ray component array must be aligned to 16 bytes.
34
35   EXIT STATUS
36       For  performance  reasons  this  function does not do any error checks,
37       thus will not set any error flags on failure.
38
39   SEE ALSO
40       [rtcIntersectNp]
41
42
43
44                                                              rtcOccludedNp(3)
Impressum