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

Function contextIntersectFunc

tutorials/user_geometry/user_geometry_device.cpp:483–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481}
482
483RTC_SYCL_INDIRECTLY_CALLABLE void contextIntersectFunc(const RTCIntersectFunctionNArguments* args)
484{
485 UserGeometryType* type = (UserGeometryType*) args->geometryUserPtr;
486 if (*type == USER_GEOMETRY_INSTANCE) instanceIntersectFunc(args);
487 else sphereIntersectFunc(args);
488}
489
490RTC_SYCL_INDIRECTLY_CALLABLE void contextOccludedFunc(const RTCOccludedFunctionNArguments* args)
491{

Callers

nothing calls this directly

Calls 2

instanceIntersectFuncFunction · 0.70
sphereIntersectFuncFunction · 0.70

Tested by

no test coverage detected