Skip to content
This repository

More blending modes #298

Open
LaurentGomila opened this Issue October 08, 2012 · 1 comment

2 participants

Laurent Gomila Jan Haller
Laurent Gomila

Additional blending modes are often requested.

Two solutions:

  • add more blending modes to the sf::BlendMode enumeration
  • make the API more flexible, allow to set source and destination operators instead of a fixed list of modes

A blending mode which is often requested is premultiplied alpha (which would come with a sf::Image::convertToPremultipliedAlpha function).

Forum topics:

Jan Haller
Collaborator

A possible API is discussed in the forum, please refer to this thread (don't discuss here):
http://en.sfml-dev.org/forums/index.php?topic=14148

Jan Haller Bromeon referenced this issue from a commit March 09, 2014
Jan Haller Created branch for experimental blending mode API
See issue #298.
Based on branch 'new_blending_api' of github.com:tomgalvin594/SFML.
fe7d6f5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.