RRHit
Description
Hit description for full hit results of rrCmdIntersect().
Applies to
All supported backends
Items
Name |
Type |
Description |
---|---|---|
uv[2] |
float |
Barycentric coordinates of the point of intersection of the ray with the primitive in relation to this primitive. |
inst_id |
uint32_t |
RRInstance index in the scene.* If the ray does not intersect with anything, a value of |
prim_id |
uint32_t |
Primitive index in the RRInstance pointed to by |
* Indices refer to the point of intersection of the ray and the geometry found.