MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / RemoveDeformer

Method RemoveDeformer

Source/Engine/Graphics/Models/MeshDeformation.cpp:98–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void MeshDeformation::RemoveDeformer(int32 lodIndex, int32 meshIndex, MeshBufferType type, const Function<void(const MeshBase* mesh, MeshDeformationData& deformation)>& deformer)
99{
100 const auto key = GetKey(lodIndex, meshIndex, type);
101 _deformers[key].Unbind(deformer);
102 Dirty(lodIndex, meshIndex, type);
103}
104
105void MeshDeformation::RunDeformers(const MeshBase* mesh, MeshBufferType type, GPUBuffer*& vertexBuffer)
106{

Callers 4

SetMeshMethod · 0.80
DestroyClothMethod · 0.80
SetBlendShapeWeightMethod · 0.80

Calls 2

GetKeyFunction · 0.70
UnbindMethod · 0.45

Tested by

no test coverage detected