mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-01-14 05:03:24 +01:00
[Dev] Use indexed rendering to reduce memory bandwidth #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dscyrescotti on GitHub (May 21, 2024).
Originally assigned to: @dscyrescotti on GitHub.
Description
So far, rendering a single quad of a stroke requires six vertices so if there is thousand quads in the stroke, it will be six thousands vertices to be passed. Instead, it will be more memory efficient using indexed rendering because it will reduces the count of vertices up to 33.33%.