Skip to content
This repository has been archived by the owner on Apr 10, 2021. It is now read-only.

minimize the number of batches sent to the GPU #365

Open
blockspacer opened this issue Nov 15, 2019 · 0 comments
Open

minimize the number of batches sent to the GPU #365

blockspacer opened this issue Nov 15, 2019 · 0 comments

Comments

@blockspacer
Copy link
Owner

The set of primitives to be rendered must be properly sorted by shader to minimize the number of batches sent to the GPU. The algorithm is very similar to those used in 3D engines where objects are sorted by material and textures. Avoiding redundant state changes is also relevant for the UI. This is an important detail that is often overlooked. from https://www.gamasutra.com/view/news/315057/Sponsored_Defining_the_next_generation_of_user_interfaces.php

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant