1rtcOccludedNM(3)         Embree Ray Tracing Kernels 3         rtcOccludedNM(3)
2
3
4
5   NAME
6              rtcOccludedNM - finds any hits for a stream of M ray packets of
7                size N
8
9   SYNOPSIS
10              #include <embree3/rtcore.h>
11
12              void rtcOccludedNM(
13                RTCScene scene,
14                struct RTCIntersectContext* context,
15                struct RTCRayN* ray,
16                unsigned int N,
17                unsigned int M,
18                size_t byteStride
19              );
20
21   DESCRIPTION
22       The  rtcOccludedNM  function  checks  whether  there are any hits for a
23       stream of M ray packets (ray argument) of size N with the scene  (scene
24       argument).   The  ray  argument  points to an array of ray packets with
25       specified byte stride (byteStride argument) between  the  ray  packets.
26       See Section [rtcOccluded1] for a description of how to set up and trace
27       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  packet  size N must be larger than 0, and the stream size M can be
33       an arbitrary positive integer including 0.  Each ray must be aligned to
34       16 bytes.
35
36   EXIT STATUS
37       For  performance  reasons  this  function does not do any error checks,
38       thus will not set any error flags on failure.
39
40   SEE ALSO
41       [rtcIntersectNM]
42
43
44
45                                                              rtcOccludedNM(3)
Impressum