RTCHitN - Online Linux Manual Page

Section : 3
Updated :
Source :
Note : Embree Ray Tracing Kernels 3
NAME RTCHitN − hit packet of runtime size

SYNOPSIS #include <embree3/rtcore.h> struct HitN; float& RTCHitN_Ng_x(RTCHitN* hit, unsigned int N, unsigned int i); float& RTCHitN_Ng_y(RTCHitN* hit, unsigned int N, unsigned int i); float& RTCHitN_Ng_z(RTCHitN* hit, unsigned int N, unsigned int i); float& RTCHitN_u(RTCHitN* hit, unsigned int N, unsigned int i); float& RTCHitN_v(RTCHitN* hit, unsigned int N, unsigned int i); unsigned& RTCHitN_primID(RTCHitN* hit, unsigned int N, unsigned int i); unsigned& RTCHitN_geomID(RTCHitN* hit, unsigned int N, unsigned int i); unsigned& RTCHitN_instID(RTCHitN* hit, unsigned int N, unsigned int i, unsigned int level);

DESCRIPTIONWhen the hit packet size is not known at compile time (e.g. when Embree returns a hit packet in the RTCFilterFuncN callback function), Embree uses the RTCHitN type for hit packets. These hit packets can only have sizes of 1, 4, 8, or 16. No other packet size will be used. You can either implement different special code paths for each of these possible packet sizes and cast the hit to the appropriate hit packet type, or implement one general code path that uses the RTCHitN_XXX helper functions to access hit packet components. These helper functions get a pointer to the hit packet (hit argument), the packet size (N argument), and returns a reference to a component (e.g. x component of Ng) of the the i−th hit of the packet (i argument).

EXIT STATUS

SEE ALSO[RTCRayN]

Johanes Gumabo
Data Size   :   5,840 byte man-RTCHitN.3embree3Build   :   2025-03-22, 13:26   :  
Visitor Screen   :   1280 x 720
Visitor Counter ( page / site )   :   10 / 1,154,698
Visitor ID   :     :  
Visitor IP   :   3.21.39.85   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.