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

Function rtcNewScene

kernels/common/rtcore.cpp:288–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286 }
287
288 RTC_API RTCScene rtcNewScene (RTCDevice hdevice)
289 {
290 RTC_CATCH_BEGIN;
291 RTC_TRACE(rtcNewScene);
292 RTC_VERIFY_HANDLE(hdevice);
293 Scene* scene = new Scene((Device*)hdevice);
294 return (RTCScene) scene->refInc();
295 RTC_CATCH_END((Device*)hdevice);
296 return nullptr;
297 }
298
299 RTC_API RTCDevice rtcGetSceneDevice(RTCScene hscene)
300 {

Callers 15

test.cppFile · 0.85
device_initFunction · 0.85
device_initFunction · 0.85
initializeSceneFunction · 0.85
initializeSceneFunction · 0.85
addInstancedTriangleCubeFunction · 0.85
addInstancedQuadCubeFunction · 0.85
device_initFunction · 0.85
device_initFunction · 0.85
device_initFunction · 0.85
VerifySceneMethod · 0.85
runMethod · 0.85

Calls 1

refIncMethod · 0.80

Tested by

no test coverage detected