Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2009-12-12 17:42:03
Size: 722
Editor: SheenaSmith
Comment: create page, add content
Revision 2 as of 2009-12-12 18:10:39
Size: 852
Editor: SheenaSmith
Comment: added RFs
Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:
 .[[SDL_GetRenderDrawBlendMode]]
 .[[SDL_GetTextureBlendMode]]
Line 29: Line 31:
 .[[SDL_SetRenderDrawBlendMode]]
 .[[SDL_SetTextureBlendMode]]

SDL_Enumeration

An enumeration that sets the blend mode used in SDL_RenderCopy() 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

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