BlendState Class (Microsoft.Xna.Framework.Graphics)

System.Object
   Microsoft.Xna.Framework.Graphics.GraphicsResource
      Microsoft.Xna.Framework.Graphics.BlendState

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1018)
  • C#
  • VB
  • F#
[DefaultMemberAttribute("Item")]
public class BlendState : GraphicsResource

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The BlendState type exposes the following members.

  Platforms Name Description
BlendState  
Top
  Platforms Name Description
Additive  
AlphaBlend  
NonPremultiplied  
Opaque  
Top
  Platforms Name Description
AlphaBlendFunction  
AlphaDestinationBlend  
AlphaSourceBlend  
BlendFactor The color used as blend factor when alpha blending. 
ColorBlendFunction  
ColorDestinationBlend  
ColorSourceBlend  
ColorWriteChannels  
ColorWriteChannels1  
ColorWriteChannels2  
ColorWriteChannels3  
GraphicsDevice  (Inherited from GraphicsResource.)
IndependentBlendEnable Enables use of the per-target blend states. 
IsDisposed  (Inherited from GraphicsResource.)
Item Returns the target specific blend state. 
MultiSampleMask  
Name  (Inherited from GraphicsResource.)
Tag  (Inherited from GraphicsResource.)
Top
  Platforms Name Description
Dispose(bool) The method that derived classes should override to implement disposing of managed and native resources. (Overrides GraphicsResource.Dispose().)
Dispose()  (Inherited from GraphicsResource.)
Finalize  (Inherited from GraphicsResource.)
GraphicsDeviceResetting Called before the device is reset. Allows graphics resources to invalidate their state so they can be recreated after the device reset. Warning: This may be called after a call to Dispose() up until the resource is garbage collected. (Overrides GraphicsResource.GraphicsDeviceResetting().)
ToString  (Inherited from GraphicsResource.)
Top
  Platforms Name Description
Disposing  (Inherited from GraphicsResource.)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web