|
Size: 852
Comment: added RFs
|
Size: 850
Comment: content corrections
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 4: | Line 4: |
| = SDL_Enumeration = | = SDL_BlendMode = |
SDL_BlendMode
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
Related Structures
