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

Fix effect alpha mode docs #978

Open
wants to merge 1 commit into
base: uwp/main
Choose a base branch
from

Conversation

benstevens48
Copy link

The description of the alpha mode parameter for effects is wrong and is in fact opposite to what is actually the case. The Direct2D docs are correct. AlphaMode is always used to indicate the alpha mode of the input, and if premultiplied (the default), it is unpremultiplied before applying the effect then premultiplied again. I raised this before in #758, but the issue was rejected. However I am now confident that I am correct about this.

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

Successfully merging this pull request may close these issues.

1 participant