Radeon ProRender

hiprtHit

Ray hit data structure.

Name Type Description
instanceID uint32_t Instance ID.
primID uint32_t Primitive ID.
uv hiprtFloat2 Texture coordinates.
normal hiprtFloat3 Geometric normal (not normalized).
t float Distance.