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

Function RayStats_addRay

tutorials/common/tutorial/tutorial_device.h:136–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134#if defined(RAY_STATS)
135#if defined(ISPC)
136inline void RayStats_addRay(RayStats& stats) { stats.numRays += popcnt(1); }
137inline void RayStats_addShadowRay(RayStats& stats) { stats.numRays += popcnt(1); }
138#else // C++
139__forceinline void RayStats_addRay(RayStats& stats) { stats.numRays++; }

Callers 15

renderPixelFunction · 0.85
renderPixelStandardFunction · 0.85
renderPixelFunction · 0.85
renderPixelFunctionFunction · 0.85
renderPixelStandardFunction · 0.85
renderPixelStandardFunction · 0.85
renderPixelStandardFunction · 0.85
renderPixelStandardFunction · 0.85
renderPixelFunctionFunction · 0.85
renderPixelDebugShaderFunction · 0.85
renderPixelAOShaderFunction · 0.85
renderPixelStandardFunction · 0.85

Calls 1

popcntFunction · 0.50

Tested by

no test coverage detected