Wiki Page Content

Differences between revisions 10 and 11
Revision 10 as of 2010-12-17 06:34:19
Size: 1103
Editor: SheenaSmith
Comment: update content - add RFs
Revision 11 as of 2011-02-15 00:38:49
Size: 1002
Editor: SheenaSmith
Comment: update content - 2/14 changeset 5295 (as of 5140, from blendmode.h)
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
||SDL_BLENDMODE_MASK||dst = A ? src : dst (alpha is mask)||
Line 14: Line 13:
||SDL_BLENDMODE_MOD||dst = src * dst||

SDL_BlendMode

An enumeration of blend modes used in SDL_RenderCopy() and drawing operations.

Values

SDL_BLENDMODE_NONE

no blending

SDL_BLENDMODE_BLEND

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

SDL_BLENDMODE_ADD

dst = (src * A) + dst

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryEnum, CategoryVideo

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