BlendFunction Enumeration (Microsoft.Xna.Framework.Graphics)

Defines a function for color blending.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public enum BlendFunction

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The BlendFunction type exposes the following members.

  Platforms Name Description
Add The function will adds destination to the source. (srcColor * srcBlend) + (destColor * destBlend) 
Max The function will extracts maximum of the source and destination. max((srcColor * srcBlend),(destColor * destBlend)) 
Min The function will extracts minimum of the source and destination. min((srcColor * srcBlend),(destColor * destBlend)) 
ReverseSubtract The function will subtracts source from destination. (destColor * destBlend) - (srcColor * srcBlend) 
Subtract The function will subtracts destination from source. (srcColor * srcBlend) − (destColor * destBlend) 
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop