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

Function contextOccludedFunc

tutorials/user_geometry/user_geometry_device.cpp:490–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490RTC_SYCL_INDIRECTLY_CALLABLE void contextOccludedFunc(const RTCOccludedFunctionNArguments* args)
491{
492 UserGeometryType* type = (UserGeometryType*) args->geometryUserPtr;
493 if (*type == USER_GEOMETRY_INSTANCE) instanceOccludedFunc(args);
494 else sphereOccludedFunc(args);
495}
496
497/* intersection filter function */
498

Callers

nothing calls this directly

Calls 2

instanceOccludedFuncFunction · 0.85
sphereOccludedFuncFunction · 0.85

Tested by

no test coverage detected