BlendState Properties

Public Properties

Name Description
Public Property AlphaBlendFunction Gets or sets the arithmetic operation when blending alpha values. The default is BlendFunction.Add.
Public Property AlphaDestinationBlend Gets or sets the blend factor for the destination alpha, which is the percentage of the destination alpha included in the blended result. The default is Blend.One.
Public Property AlphaSourceBlend Gets or sets the alpha blend factor. The default is Blend.One.
Public Property BlendFactor Gets or sets the four-component (RGBA) blend factor for alpha blending.
Public Property ColorBlendFunction Gets or sets the arithmetic operation when blending color values. The default is BlendFunction.Add.
Public Property ColorDestinationBlend Gets or sets the blend factor for the destination color. The default is Blend.One.
Public Property ColorSourceBlend Gets or sets the blend factor for the source color. The default is Blend.One.
Public Property ColorWriteChannels Gets or sets which color channels (RGBA) are enabled for writing during color blending. The default value is ColorWriteChannels.None.
Public Property ColorWriteChannels1 Gets or sets which color channels (RGBA) are enabled for writing during color blending. The default value is ColorWriteChannels.None.
Public Property ColorWriteChannels2 Gets or sets which color channels (RGBA) are enabled for writing during color blending. The default value is ColorWriteChannels.None.
Public Property ColorWriteChannels3 Gets or sets which color channels (RGBA) are enabled for writing during color blending. The default value is ColorWriteChannels.None.
Public Property GraphicsDevice (Inherited from GraphicsResource.)
Public Property IsDisposed (Inherited from GraphicsResource.)
Public Property MultiSampleMask Gets or sets a bitmask which defines which samples can be written during multisampling. The default is 0xffffffff.
Public Property Name (Inherited from GraphicsResource.)
Public Property Tag (Inherited from GraphicsResource.)

Remarks

For more information about blending, see What Is Color Blending?.

See Also

Reference

BlendState Class
Microsoft.Xna.Framework.Graphics Namespace