hiprtGetSceneBuildTemporaryBufferSize

Gets temporary storage requirements for scene build.

hiprtError hiprtGetSceneBuildTemporaryBufferSize(

hiprtContext context,

const hiprtSceneBuildInput* buildInput,

const hiprtBuildOptions* buildOptions,

size_t* outSize);

Parameters

Parameter

Description

context

HIPRT API context.

buildInput

Decribes input geometires to build scene for.

buildOptions

Various flags controlling build process.

outSize

Pointer to write result to.

Return

Returns HIPRT error in case of a failure, or hiprtSuccess otherwise.