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

ebiten: remove ColorScaleMode #2990

Open
11 tasks
hajimehoshi opened this issue May 16, 2024 · 0 comments
Open
11 tasks

ebiten: remove ColorScaleMode #2990

hajimehoshi opened this issue May 16, 2024 · 0 comments

Comments

@hajimehoshi
Copy link
Owner

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Nintendo Switch
  • PlayStation 5
  • Xbox
  • Web Browsers

What feature would you like to be added?

ColorScaleModeStraightAlpha is the default mode and is for the compatibility. In terms of implementation, ColorScaleModePremultipliedAlpha is natural. Let's remove ColorScaleMode and always treat the vector color values as premultiplied alpha values.

As this is a breaking change, let's do this in v3.

Why is this needed?

To simplifiy API

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

No branches or pull requests

1 participant