8df0690ab4e0e1dcae36bde0c9d86ba7efb24fff
Retrieve the index buffer data as a span and set it directly rather than using the API functions to add vertices which add overhead. Also pass all the necessary data as arguments instead of retrieving them from the "args" struct on every use. In a test with a 16 million vertex grid, this reduces the runtime of generating all the wireframe index buffers by about 25%, from 95 to 76 ms for that step of the drawing process.
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
