1RTCRay(3)                Embree Ray Tracing Kernels 3                RTCRay(3)
2
3
4
5   NAME
6              RTCRayHit - combined single ray/hit structure
7
8   SYNOPSIS
9              #include <embree3/rtcore_ray.h>
10
11              struct RTCORE_ALIGN(16) RTCRayHit
12              {
13                struct RTCRay ray;
14                struct RTCHit hit;
15              };
16
17   DESCRIPTION
18       The  RTCRayHit  structure  is  used  as input for the rtcIntersect-type
19       functions and stores the ray to intersect and some hit fields that hold
20       the intersection result afterwards.
21
22       The  embree3/rtcore_ray.h  header additionally defines the same ray/hit
23       structure in structure of array (SOA) layout for API functions  accept‐
24       ing  ray packets of size 4 (RTCRayHit4 type), size 8 (RTCRayHit8 type),
25       and size 16 (RTCRayHit16 type).  The  header  additionally  defines  an
26       RTCRayHitNt  template  to generate ray/hit packets of an arbitrary com‐
27       pile-time size.
28
29   EXIT STATUS
30   SEE ALSO
31       [RTCRay], [RTCHit]
32
33
34
35                                                                     RTCRay(3)
Impressum