Table of Contents

Enum BlendFunction

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll

Defines a function for color blending.

public enum BlendFunction

Fields

Add = 0

The function will adds destination to the source. (srcColor * srcBlend) + (destColor * destBlend)

Max = 4

The function will extracts maximum of the source and destination. max((srcColor * srcBlend),(destColor * destBlend))

Min = 3

The function will extracts minimum of the source and destination. min((srcColor * srcBlend),(destColor * destBlend))

ReverseSubtract = 2

The function will subtracts source from destination. (destColor * destBlend) - (srcColor * srcBlend)

Subtract = 1

The function will subtracts destination from source. (srcColor * srcBlend) − (destColor * destBlend)