hiprtDestroyGeometry

Destroys hiprtGeometry representing acceleration structure topology.

hiprtError hiprtDestroyGeometry(

hiprtContext context,

hiprtGeometry inGeometry);

Parameters

Parameter

Description

context

HIPRT API context.

inGeometry

Input geometry to be destroyed.

Return

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