hiprtGetSceneTraceTemporaryBufferSize

Gets temporary storage requirements for scene trace.

hiprtError hiprtGetSceneTraceTemporaryBufferSize(

hiprtContext context,

hiprtScene 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.