Loading...
Searching...
No Matches
BlendMode.h File Reference
#include <CSFML/Graphics/Export.h>Go to the source code of this file.
Classes | |
| struct | sfBlendMode |
| Blending mode for drawing. More... | |
Enumerations | |
| enum | sfBlendFactor { sfBlendFactorZero , sfBlendFactorOne , sfBlendFactorSrcColor , sfBlendFactorOneMinusSrcColor , sfBlendFactorDstColor , sfBlendFactorOneMinusDstColor , sfBlendFactorSrcAlpha , sfBlendFactorOneMinusSrcAlpha , sfBlendFactorDstAlpha , sfBlendFactorOneMinusDstAlpha } |
| Enumeration of the blending factors. More... | |
| enum | sfBlendEquation { sfBlendEquationAdd , sfBlendEquationSubtract , sfBlendEquationReverseSubtract , sfBlendEquationMin , sfBlendEquationMax } |
| Enumeration of the blending equations. More... | |
Variables | |
| const sfBlendMode | sfBlendAlpha |
| Blend source and dest according to dest alpha. | |
| const sfBlendMode | sfBlendAdd |
| Add source to dest. | |
| const sfBlendMode | sfBlendMultiply |
| Multiply source and dest. | |
| const sfBlendMode | sfBlendMin |
| Take minimum between source and dest. | |
| const sfBlendMode | sfBlendMax |
| Take maximum between source and dest. | |
| const sfBlendMode | sfBlendNone |
| Overwrite dest with source. | |
Enumeration Type Documentation
◆ sfBlendEquation
| enum sfBlendEquation |
Enumeration of the blending equations.
Definition at line 56 of file BlendMode.h.
◆ sfBlendFactor
| enum sfBlendFactor |
Enumeration of the blending factors.
Definition at line 37 of file BlendMode.h.
Variable Documentation
◆ sfBlendAdd
| const sfBlendMode sfBlendAdd |
Add source to dest.
Definition at line 82 of file BlendMode.h.
◆ sfBlendAlpha
| const sfBlendMode sfBlendAlpha |
Blend source and dest according to dest alpha.
Definition at line 81 of file BlendMode.h.
◆ sfBlendMax
| const sfBlendMode sfBlendMax |
Take maximum between source and dest.
Definition at line 85 of file BlendMode.h.
◆ sfBlendMin
| const sfBlendMode sfBlendMin |
Take minimum between source and dest.
Definition at line 84 of file BlendMode.h.
◆ sfBlendMultiply
| const sfBlendMode sfBlendMultiply |
Multiply source and dest.
Definition at line 83 of file BlendMode.h.
◆ sfBlendNone
| const sfBlendMode sfBlendNone |
Overwrite dest with source.
Definition at line 86 of file BlendMode.h.