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

Method create

kernels/subdiv/patch.h:136–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 /* creates BSplinePatch from a half edge */
135 template<typename Allocator>
136 __noinline static Ref create(const Allocator& alloc, const HalfEdge* edge, const char* vertices, size_t stride) {
137 return Ref(BSPLINE_PATCH, new (alloc(sizeof(BSplinePatch))) BSplinePatch(edge,vertices,stride));
138 }
139
140 __forceinline BSplinePatch (const HalfEdge* edge, const char* vertices, size_t stride)
141 : patch(edge,vertices,stride) {}

Callers

nothing calls this directly

Calls 2

allocFunction · 0.85
RefClass · 0.70

Tested by

no test coverage detected