MCPcopy Create free account
hub / github.com/carbonengine/trinity / BakeBlendshape

Method BakeBlendshape

trinity/Resources/TriGrannyRes.cpp:412–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410#endif
411
412bool TriGrannyRes::BakeBlendshape( unsigned int meshIx, const std::vector<float>& weights, Tr2SuballocatedBuffer::Allocation& pVertexData, Tr2RenderContextAL& renderContext, unsigned int vertexDataSize )
413{
414 return BakeBlendshape( meshIx, weights, pVertexData, renderContext, vertexDataSize, NULL, false );
415}
416
417bool TriGrannyRes::BakeBlendshape( unsigned int meshIx, const NameToWeightMap& nameToWeight, Tr2SuballocatedBuffer::Allocation& pVertexData, Tr2RenderContextAL& renderContext, unsigned int vertexDataSize )
418{

Callers

nothing calls this directly

Calls 10

IsUsingCMFFunction · 0.85
ReadCmfVertexAttributesFunction · 0.85
sizeMethod · 0.80
GetViewDataMethod · 0.80
emptyMethod · 0.80
Vector3Class · 0.50
GetDataMethod · 0.45
UpdateMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected