SFML.Net
BlendMode Structure |
Blending modes for drawing
Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
The BlendMode type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BlendMode(BlendModeFactor, BlendModeFactor) |
Construct the blend mode given the factors and equation
| |
BlendMode(BlendModeFactor, BlendModeFactor, BlendModeEquation) |
Construct the blend mode given the factors and equation
| |
BlendMode(BlendModeFactor, BlendModeFactor, BlendModeEquation, BlendModeFactor, BlendModeFactor, BlendModeEquation) |
Construct the blend mode given the factors and equation
|
Methods
Name | Description | |
---|---|---|
Equals(Object) |
Compare blend mode and object and checks if they are equal
(Overrides ValueTypeEquals(Object).) | |
Equals(BlendMode) |
Compare two blend modes and checks if they are equal
| |
GetHashCode |
Provide a integer describing the object
(Overrides ValueTypeGetHashCode.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
ToString |
Returns the fully qualified type name of this instance.
(Inherited from ValueType.) |
Operators
Name | Description | |
---|---|---|
Equality |
Compare two blend modes and checks if they are equal
| |
Inequality |
Compare two blend modes and checks if they are not equal
|
Fields
Name | Description | |
---|---|---|
Add | Add source to dest | |
Alpha | Blend source and dest according to dest alpha | |
AlphaDstFactor | Destination blending factor for the alpha channel | |
AlphaEquation | Blending equation for the alpha channel | |
AlphaSrcFactor | Source blending factor for the alpha channel | |
ColorDstFactor | Destination blending factor for the color channels | |
ColorEquation | Blending equation for the color channels | |
ColorSrcFactor | Source blending factor for the color channels | |
Multiply | Multiply source and dest | |
None | Overwrite dest with source |
See Also