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

Method ID

kernels/builders/primref_mb.h:117–123  ·  view source on GitHub ↗

! returns an size_t sized ID */

Source from the content-addressed store, hash-verified

115
116 /*! returns an size_t sized ID */
117 __forceinline size_t ID() const {
118#if defined(__64BIT__)
119 return size_t(lbounds.bounds0.lower.u) + (size_t(lbounds.bounds0.upper.u) << 32);
120#else
121 return size_t(lbounds.bounds0.lower.u);
122#endif
123 }
124
125 /*! special function for operator< */
126 __forceinline uint64_t ID64() const {

Callers 5

buildMethod · 0.80
buildMethod · 0.80
operator()Method · 0.80
linearBoundsMethod · 0.80
rebuildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected