engine
engine copied to clipboard
Upgrade Mesh Decoder
Since the abilities of ModelMesh
and BufferMesh
have been unified, MeshDecoder should be upgraded by new ModelMesh
.
Before:
Use setPositions
... function to organize buffer data which will cause additional overhead in cpu.
After:
Use a bundled buffer insert to ModelMesh
which can reduce cpu parsing time.