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

Function popInstanceId

tutorials/user_geometry/user_geometry_device.cpp:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52inline void popInstanceId(RTCRayQueryContext* ctx)
53{
54#if RTC_MAX_INSTANCE_LEVEL_COUNT > 1
55 ctx->instID[--ctx->instStackSize] = RTC_INVALID_GEOMETRY_ID;
56#else
57 ctx->instID[0] = RTC_INVALID_GEOMETRY_ID;
58#endif
59}
60
61inline void copyInstanceIdStack(const RTCRayQueryContext* ctx, unsigned* tgt)
62{

Callers 2

instanceIntersectFuncFunction · 0.70
instanceOccludedFuncFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected