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

Method VerifyScene

tutorials/verify/verify.cpp:158–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156 struct VerifyScene : public RefCount
157 {
158 VerifyScene (const RTCDeviceRef& device, SceneFlags sflags)
159 : device(device), scene(rtcNewScene(device)), flags(sflags)
160 {
161 rtcSetSceneFlags(scene,sflags.sflags);
162 rtcSetSceneBuildQuality(scene,sflags.qflags);
163 }
164
165 operator RTCScene() const {
166 return scene;

Callers

nothing calls this directly

Calls 3

rtcNewSceneFunction · 0.85
rtcSetSceneFlagsFunction · 0.85
rtcSetSceneBuildQualityFunction · 0.85

Tested by

no test coverage detected