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

Method occluded

kernels/common/acceln.cpp:76–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75
76 void AccelN::occluded (Accel::Intersectors* This_in, RTCRay& ray, RayQueryContext* context)
77 {
78 AccelN* This = (AccelN*)This_in->ptr;
79 for (size_t i=0; i<This->accels.size(); i++) {
80 if (This->accels[i]->isEmpty()) continue;
81 This->accels[i]->intersectors.occluded(ray,context);
82 if (ray.tfar < 0.0f) break;
83 }
84 }
85
86 void AccelN::occluded4 (const void* valid, Accel::Intersectors* This_in, RTCRay4& ray, RayQueryContext* context)
87 {

Callers 7

intersect_user_geometryFunction · 0.45
rtcOccluded1Function · 0.45
rtcForwardOccluded1ExFunction · 0.45
rtcOccluded4Function · 0.45
rtcForwardOccludedNFunction · 0.45
rtcOccluded8Function · 0.45
rtcOccluded16Function · 0.45

Calls 2

isEmptyMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected