BlendState

class BlendState : GraphicsResource, System.IDisposable
BlendState Additive
BlendState AlphaBlend
BlendState NonPremultiplied
BlendState Opaque
readonly TargetBlendState Item
BlendFunction AlphaBlendFunction
Blend AlphaDestinationBlend
Blend AlphaSourceBlend
BlendFunction ColorBlendFunction
Blend ColorDestinationBlend
Blend ColorSourceBlend
ColorWriteChannels ColorWriteChannels
ColorWriteChannels ColorWriteChannels1
ColorWriteChannels ColorWriteChannels2
ColorWriteChannels ColorWriteChannels3
Color BlendFactor

The color used as blend factor when alpha blending.

int MultiSampleMask
bool IndependentBlendEnable

Enables use of the per-target blend states.

void BindToGraphicsDevice(GraphicsDevice device)
Parameters:
  • device (Microsoft.Xna.Framework.Graphics.GraphicsDevice) –
void ThrowIfBound()
BlendState Clone()
void GraphicsDeviceResetting()
SharpDX.Direct3D11.BlendState GetDxState(GraphicsDevice device)
Parameters:
  • device (Microsoft.Xna.Framework.Graphics.GraphicsDevice) –