OptiX  3.9
NVIDIA OptiX Acceleration Engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Public Attributes | List of all members
RTUtraversalresult Struct Reference

Detailed Description

Traversal API allowing batch raycasting queries utilizing either OptiX or the CPU.

The OptiX traversal API is demonstrated in the traversal sample within the OptiX SDK.

Structure encapsulating the result of a single ray query

Public Attributes

int prim_id
 
float t
 

Member Data Documentation

int RTUtraversalresult::prim_id

Index of the interesected triangle, -1 for miss

float RTUtraversalresult::t

Ray t parameter of hit point