GraphicsDevice.BlendFactor Property (Microsoft.Xna.Framework.Graphics)
The color used as blend factor when alpha blending.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
- C#
- VB
- F#
public Color BlendFactor { get; set; }
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Property Value
Type: Microsoft.Xna.Framework.Color
When only changing BlendFactor, use this rather than BlendFactor to
only update BlendFactor so the whole BlendState does not have to be updated.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web