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

πŸ› οΈ Allow custom blend modes in pipeline #80

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

paulcscharf
Copy link
Member

✨ What's this?

What it says on the tin.

πŸ” Why do we want this?

There's a lot of different blend mode combinations given the three parameters and their possible values. I want to experiment with them more freely. This allows me to do that, exposing all blend modes OpenGL supports.

πŸ— How is it done?

Use a struct containing the actual blend more parameters instead of an enum and expose a public constructor.

πŸ’₯ Breaking changes

Type changed from enum to struct, but maintains any reasonable-use source compatibility.

@paulcscharf paulcscharf merged commit 51222de into master Jul 22, 2024
1 check passed
@paulcscharf paulcscharf deleted the custom-blend-modes branch July 22, 2024 19:52
@paulcscharf paulcscharf restored the custom-blend-modes branch July 22, 2024 20:21
@paulcscharf paulcscharf deleted the custom-blend-modes branch July 22, 2024 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants