Partager via


SpriteBatch.Begin Method

Prepares the graphics device for drawing sprites.

Overload List

Name Description
SpriteBatch.Begin () Prepares the graphics device for drawing sprites.
SpriteBatch.Begin (SpriteBlendMode) Prepares the graphics device for drawing sprites with specified blending options.
SpriteBatch.Begin (SpriteBlendMode, SpriteSortMode, SaveStateMode) Prepares the graphics device for drawing sprites with specified blending, sorting, and render state options.
SpriteBatch.Begin (SpriteBlendMode, SpriteSortMode, SaveStateMode, Matrix) Prepares the graphics device for drawing sprites with specified blending, sorting, and render state options.

See Also

Tasks

How to: Draw a Sprite

Concepts

2D Graphics Overview

Reference

SpriteBatch Class
SpriteBatch Members
Microsoft.Xna.Framework.Graphics Namespace