hiprtSceneTraversalAnyHit
Initiates BVH traversal for a ray and find any hit for a given scene.
Public Member Functions
Function |
Description |
---|---|
hiprtSceneTraversalAnyHit (hiprtScene scene, const hiprtRay& ray, hiprtRayMask mask); |
Constructor taking an instance of |
hiprtSceneTraversalAnyHit (hiprtScene scene, const hiprtRay& ray, hiprtRayMask mask, hiprtCustomFuncSet funcSet); |
Constructor taking an instance of |
getNextHit(); |
Returns the next closest hit. For return value see the structure hiprtHit. |
getCurrentState(); |
Queries current traversal state. Return value can be one of the values from hiprtTraversalState enum. |