hiprtBuildFlagBits

Usage

Hint flags for geometry/scene build functions.

hiprtBuildGeometry/hiprtBuildScene use these flags to choose an appropriate build format/algorithm.

Possible Values

Name

Value

Brief Explanation

hiprtBuildFlagBitPreferFastBuild

1

When building the BVH, the speed of building it will have priority over the BVH quality.

hiprtBuildFlagBitPreferHighQualityBuild

2

When building the BVH, its quality will have priority over the speed of building it.

hiprtBuildFlagBitPreferBalancedBuild

3

When building a BVH, its quality and the speed of building it will have the same priority.

hiprtBuildFlagBitCustomBvhImport

4

Used when loading a сustom BVH created by the user.