hiprtCreateScene

Creates hiprtGeometry representing acceleration structure topology.

hiprtError hiprtCreateScene(

hiprtContext context,

const hiprtSceneBuildInput* buildInput,

const hiprtBuildOptions* buildOptions,

hiprtScene* outScene);

Parameters

Parameter

Description

context

HIPRT API context.

buildInput

Decribes input geometires to build scene for.

buildOptions

Various flags controlling build process.

outScene

Resulting scene.

Return

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