Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2009-12-20 05:44:03
Size: 813
Editor: SheenaSmith
Comment: content added
Revision 6 as of 2010-08-23 21:48:51
Size: 836
Editor: SheenaSmith
Comment: added header-specific Category link
Deletions are marked like this. Additions are marked like this.
Line 34: Line 34:
[[CategoryEnum]] [[CategoryEnum]], [[CategoryVideoEnum]]

SDL_BlendMode

An enumeration of blend modes used in texture copying and drawing operations.

Values

SDL_BLENDMODE_NONE

no blending

SDL_BLENDMODE_MASK

dst = A ? src : dst (alpha is mask)

SDL_BLENDMODE_BLEND

dst = (src * A) + (dst * (1-A))

SDL_BLENDMODE_ADD

dst = (src * A) + dst

SDL_BLENDMODE_MOD

dst = src * dst

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryEnum, CategoryVideoEnum

None: SDL_BlendMode (last edited 2013-08-08 20:57:51 by Sam Lantinga)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit