hiprtSaveGeometry

Saves hiprtGeometry to a binary file.

hiprtError hiprtSaveGeometry(

hiprtContext context,

hiprtGeometry inGeometry,

const char* filename);

Parameters

Parameter

Description

context

HIPRT API context.

inGeometry

Geometry to be saved.

filename

File name with full path.

Return

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