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

Method create

kernels/subdiv/patch.h:186–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184 /* creates GregoryPatch from half edge */
185 template<typename Allocator>
186 __noinline static Ref create(const Allocator& alloc, const HalfEdge* edge, const char* vertices, size_t stride) {
187 return Ref(GREGORY_PATCH, new (alloc(sizeof(GregoryPatch))) GregoryPatch(edge,vertices,stride));
188 }
189
190 __forceinline GregoryPatch (const HalfEdge* edge, const char* vertices, size_t stride)
191 : patch(CatmullClarkPatch(edge,vertices,stride)) {}

Callers

nothing calls this directly

Calls 2

allocFunction · 0.85
RefClass · 0.70

Tested by

no test coverage detected