Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to optionally respect draw call order inside the same Z layer #72

Open
setzer22 opened this issue Nov 16, 2023 · 0 comments
Open

Comments

@setzer22
Copy link
Collaborator

Right now when you draw meshes on the screen, they're sorted by texture and batched. This is generally good for performance but gets inconvenient when you're drawing UI, where you generally want things to be drawn bottom-to-top (what's often called "painter's algorithm").

The performance impact of this for things like UI is generally minimal, so it would be nice to have a way to disable this kind of batching for some Z layers.

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

No branches or pull requests

1 participant