MCPcopy Create free account
hub / github.com/RenderKit/embree / rtcSetGeometryBuildQuality

Function rtcSetGeometryBuildQuality

kernels/common/rtcore.cpp:1785–1798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1783 }
1784
1785 RTC_API void rtcSetGeometryBuildQuality (RTCGeometry hgeometry, RTCBuildQuality quality)
1786 {
1787 Geometry* geometry = (Geometry*) hgeometry;
1788 RTC_CATCH_BEGIN;
1789 RTC_TRACE(rtcSetGeometryBuildQuality);
1790 RTC_VERIFY_HANDLE(hgeometry);
1791 if (quality != RTC_BUILD_QUALITY_LOW &&
1792 quality != RTC_BUILD_QUALITY_MEDIUM &&
1793 quality != RTC_BUILD_QUALITY_HIGH &&
1794 quality != RTC_BUILD_QUALITY_REFIT)
1795 throw std::runtime_error("invalid build quality");
1796 geometry->setBuildQuality(quality);
1797 RTC_CATCH_END2(geometry);
1798 }
1799
1800 RTC_API void rtcSetGeometryMaxRadiusScale(RTCGeometry hgeometry, float maxRadiusScale)
1801 {

Callers 15

addGeometryMethod · 0.85
addUserGeometryEmptyMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
createSphereFunction · 0.85
convertTriangleMeshFunction · 0.85

Calls 1

setBuildQualityMethod · 0.80

Tested by

no test coverage detected