hiprtGetGeometryBuildTemporaryBufferSize

Gets temporary storage requirements for geometry build.

hiprtError hiprtGetGeometryBuildTemporaryBufferSize(

hiprtContext context,

const hiprtGeometryBuildInput* buildInput,

const hiprtBuildOptions* buildOptions,

size_t* outSize);

Parameters

Parameter

Description

context

HIPRT API context.

buildInput

Describes input primitive to build geometry from.

buildOptions

Various flags controlling build process.

outSize

Pointer to write result to.

Return

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