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

Method UpdateMesh

Source/Engine/Graphics/Models/Mesh.cpp:161–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161bool Mesh::UpdateMesh(uint32 vertexCount, uint32 triangleCount, const VB0ElementType* vb0, const VB1ElementType* vb1, const VB2ElementType* vb2, const uint32* ib)
162{
163 PRAGMA_DISABLE_DEPRECATION_WARNINGS
164 return UpdateMesh(vertexCount, triangleCount, vb0, vb1, vb2, ib, false);
165 PRAGMA_ENABLE_DEPRECATION_WARNINGS
166}
167
168bool Mesh::UpdateMesh(uint32 vertexCount, uint32 triangleCount, const VB0ElementType* vb0, const VB1ElementType* vb1, const VB2ElementType* vb2, const uint16* ib)
169{

Callers 3

UpdateMeshFunction · 0.45
OnDrawMethod · 0.45
UpdateWiresModelMethod · 0.45

Calls 3

ReleaseFunction · 0.85
UpdateMeshFunction · 0.70
LoadFunction · 0.50

Tested by

no test coverage detected