BlendState Members

The following tables list the members exposed by the BlendState type.

NameDescription
Public MethodBlendStateCreates an instance of the BlendState class with default values, using additive color and alpha blending.

NameDescription
Public Field StaticAdditiveA built-in state object with settings for additive blend that is adding the destination data to the source data without using alpha.
Public Field StaticAlphaBlendA built-in state object with settings for alpha blend that is blending the source and destination data using alpha.
Public Field StaticNonPremultipliedA built-in state object with settings for blending with non-premultipled alpha that is blending source and destination data by using alpha while assuming the color data contains no alpha information.
Public Field StaticOpaqueA built-in state object with settings for opaque blend that is overwriting the source with the destination data.

NameDescription
Public PropertyAlphaBlendFunction Gets or sets the arithmetic operation when blending alpha values. The default is BlendFunction.Add.
Public PropertyAlphaDestinationBlend 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 PropertyAlphaSourceBlend Gets or sets the alpha blend factor. The default is Blend.One.
Public PropertyBlendFactorGets or sets the four-component (RGBA) blend factor for alpha blending.
Public PropertyColorBlendFunction Gets or sets the arithmetic operation when blending color values. The default is BlendFunction.Add.
Public PropertyColorDestinationBlend Gets or sets the blend factor for the destination color. The default is Blend.One.
Public PropertyColorSourceBlend Gets or sets the blend factor for the source color. The default is Blend.One.
Public PropertyColorWriteChannelsGets or sets which color channels (RGBA) are enabled for writing during color blending. The default value is ColorWriteChannels.None.
Public PropertyColorWriteChannels1Gets or sets which color channels (RGBA) are enabled for writing during color blending. The default value is ColorWriteChannels.None.
Public PropertyColorWriteChannels2Gets or sets which color channels (RGBA) are enabled for writing during color blending. The default value is ColorWriteChannels.None.
Public PropertyColorWriteChannels3Gets or sets which color channels (RGBA) are enabled for writing during color blending. The default value is ColorWriteChannels.None.
Public PropertyGraphicsDevice(Inherited from GraphicsResource.)
Public PropertyIsDisposed(Inherited from GraphicsResource.)
Public PropertyMultiSampleMaskGets or sets a bitmask which defines which samples can be written during multisampling. The default is 0xffffffff.
Public PropertyName(Inherited from GraphicsResource.)
Public PropertyTag(Inherited from GraphicsResource.)

NameDescription
Public MethodDisposeOverloaded. Immediately releases the unmanaged resources used by this object.
Public MethodEquals(Inherited from Object.)
Public MethodGetHashCode(Inherited from Object.)
Public MethodGetType(Inherited from Object.)
Public MethodToString(Inherited from GraphicsResource.)

NameDescription
Protected MethodFinalize(Inherited from GraphicsResource.)
Protected MethodMemberwiseClone(Inherited from Object.)

NameDescription
Public EventDisposing(Inherited from GraphicsResource.)

Community Additions

ADD
Show: