More blending modes #298

Closed
LaurentGomila opened this Issue Oct 8, 2012 · 1 comment

Comments

Projects
None yet
3 participants
Owner

LaurentGomila commented Oct 8, 2012

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:

@ghost ghost assigned LaurentGomila Oct 8, 2012

tomgalvin594 added a commit to tomgalvin594/SFML that referenced this issue Jan 21, 2014

@Bromeon Bromeon assigned Bromeon and unassigned LaurentGomila Feb 23, 2014

Member

Bromeon commented Feb 23, 2014

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

@Bromeon Bromeon modified the milestones: 2.2, 2.x Feb 26, 2014

tomgalvin594 added a commit to tomgalvin594/SFML that referenced this issue Mar 5, 2014

Bromeon added a commit that referenced this issue Mar 9, 2014

Created branch for experimental blending mode API
See issue #298.
Based on branch 'new_blending_api' of github.com:tomgalvin594/SFML.

@Bromeon Bromeon closed this in 951b774 Apr 26, 2014

@eXpl0it3r eXpl0it3r added the s:accepted label Jul 7, 2014

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