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

Method create

kernels/subdiv/patch.h:210–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 {
209 template<typename Allocator>
210 __noinline static Ref create(const Allocator& alloc, Ref children[4]) {
211 return Ref(SUBDIVIDED_QUAD_PATCH, new (alloc(sizeof(SubdividedQuadPatch))) SubdividedQuadPatch(children));
212 }
213
214 __forceinline SubdividedQuadPatch(Ref children[4]) {
215 for (size_t i=0; i<4; i++) child[i] = children[i];

Callers

nothing calls this directly

Calls 2

allocFunction · 0.85
RefClass · 0.70

Tested by

no test coverage detected