BlendState Members
The following tables list the members exposed by the BlendState type.
Public Constructors
Name | Description | |
---|---|---|
![]() |
BlendState | Creates an instance of the BlendState class with default values, using additive color and alpha blending. |
Public Fields
Name | Description | |
---|---|---|
![]() ![]() |
Additive | A built-in state object with settings for additive blend that is adding the destination data to the source data without using alpha. |
![]() ![]() |
AlphaBlend | A built-in state object with settings for alpha blend that is blending the source and destination data using alpha. |
![]() ![]() |
NonPremultiplied | A 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. |
![]() ![]() |
Opaque | A built-in state object with settings for opaque blend that is overwriting the source with the destination data. |
Public Properties
Name | Description | |
---|---|---|
![]() |
AlphaBlendFunction | Gets or sets the arithmetic operation when blending alpha values. The default is BlendFunction.Add. |
![]() |
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. |
![]() |
AlphaSourceBlend | Gets or sets the alpha blend factor. The default is Blend.One. |
![]() |
BlendFactor | Gets or sets the four-component (RGBA) blend factor for alpha blending. |
![]() |
ColorBlendFunction | Gets or sets the arithmetic operation when blending color values. The default is BlendFunction.Add. |
![]() |
ColorDestinationBlend | Gets or sets the blend factor for the destination color. The default is Blend.One. |
![]() |
ColorSourceBlend | Gets or sets the blend factor for the source color. The default is Blend.One. |
![]() |
ColorWriteChannels | Gets or sets which color channels (RGBA) are enabled for writing during color blending. The default value is ColorWriteChannels.None. |
![]() |
ColorWriteChannels1 | Gets or sets which color channels (RGBA) are enabled for writing during color blending. The default value is ColorWriteChannels.None. |
![]() |
ColorWriteChannels2 | Gets or sets which color channels (RGBA) are enabled for writing during color blending. The default value is ColorWriteChannels.None. |
![]() |
ColorWriteChannels3 | Gets or sets which color channels (RGBA) are enabled for writing during color blending. The default value is ColorWriteChannels.None. |
![]() |
GraphicsDevice | (Inherited from GraphicsResource.) |
![]() |
IsDisposed | (Inherited from GraphicsResource.) |
![]() |
MultiSampleMask | Gets or sets a bitmask which defines which samples can be written during multisampling. The default is 0xffffffff. |
![]() |
Name | (Inherited from GraphicsResource.) |
![]() |
Tag | (Inherited from GraphicsResource.) |
Public Methods
Name | Description | |
---|---|---|
![]() |
Dispose | Overloaded. Immediately releases the unmanaged resources used by this object. |
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ToString | (Inherited from GraphicsResource.) |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (Inherited from GraphicsResource.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
Public Events
Name | Description | |
---|---|---|
![]() |
Disposing | (Inherited from GraphicsResource.) |