rtcSetGeometryBuildQuality
- Provided by: libembree-dev (Version: 4.3.0+dfsg-2)
- Source: embree
- Report a bug
rtcSetGeometryBuildQuality - sets the build quality for the geometry
#include <embree4/rtcore.h>
void rtcSetGeometryBuildQuality(
RTCGeometry geometry,
enum RTCBuildQuality quality
);
The rtcSetGeometryBuildQuality function sets the build quality (quality argument) for the specified geometry (geometry argument). The per-geometry build quality is only a hint and may be ignored. Embree currently uses the per-geometry build quality when the scene build quality is set to RTC_BUILD_QUALITY_LOW. In this mode a two-level acceleration structure is build, and geometries build a separate acceleration structure using the geometry build quality. The per-geometry build quality can be one of:
On failure an error code is set that can be queried using rtcGetDeviceError.
[rtcSetSceneBuildQuality]