Bagikan melalui


SpriteBlendMode Enumeration

The following flags are used to specify sprite blending rendering options to the flags parameter in Begin:

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public enum SpriteBlendMode

Members

  Member name Description
Additive Enable additive blending.
AlphaBlend Enable alpha blending.
None No blending specified.

See Also

Tasks

How to: Draw a Masked Sprite over a Background

Reference

SpriteBatch.Begin Method
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista