MCPcopy Create free account
hub / github.com/PixarAnimationStudios/OpenSubdiv / packTopologyKey

Function packTopologyKey

opensubdiv/bfr/surfaceFactory.cpp:358–493  ·  view source on GitHub ↗

This alternate function for computing the cache key was applied to common topologies with low-valence and simply packs integer bitfields with the topology of the face and all of its corners. It is typically 3x faster than the hashing method, but is suited for general use. Given the relatively low cost of computing the cache key (compared to building an irregular patch) use of this faster function

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 10

HasSemiSharpVerticesMethod · 0.80
GetSubsetsMethod · 0.80
GetSdcOptionsInEffectMethod · 0.80
GetSdcSchemeMethod · 0.80
GetTagMethod · 0.45
HasSharpEdgesMethod · 0.45
HasIrregularFaceSizesMethod · 0.45
GetFaceSizeMethod · 0.45
IsBoundaryMethod · 0.45
IsSharpMethod · 0.45

Tested by

no test coverage detected