hiprtGetGeometryTraceTemporaryBufferSize
Gets temporary storage requirements for scene trace.
hiprtError hiprtGetGeometryTraceTemporaryBufferSize( |
hiprtContext context, |
hiprtGeometry scene, |
|
uint32_t numRays, |
|
size_t* outSize); |
Parameters
Parameter |
Description |
---|---|
context |
HIPRT API context. |
scene |
Built scene for trace. |
numRays |
Rays to be issued. |
outSize |
Pointer to write result to. |
Return
Returns HIPRT error in case of a failure, or hiprtSuccess
otherwise.