|
Size: 832
Comment: update formatting - categories
|
Size: 859
Comment: update content - changeset 4929; minor change w/ creation of SDL_blendmode.h
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| An enumeration of blend modes used in texture copying and drawing operations. | An enumeration of blend modes used in [[SDL_RenderCopy]]() and drawing operations. |
| Line 30: | Line 30: |
| .[[SDL_RenderCopy]] |
SDL_BlendMode
An enumeration of blend modes 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
