SpriteBatch Members
The following tables list the members exposed by the SpriteBatch type.
Public Constructors
Name | Description | |
---|---|---|
![]() |
SpriteBatch | Initializes a new instance of the class, which enables a group of sprites to be drawn using the same settings. |
Public Properties
Name | Description | |
---|---|---|
![]() |
GraphicsDevice | (Inherited from GraphicsResource.) |
![]() |
IsDisposed | (Inherited from GraphicsResource.) |
![]() |
Name | (Inherited from GraphicsResource.) |
![]() |
Tag | (Inherited from GraphicsResource.) |
Public Methods
Name | Description | |
---|---|---|
![]() |
Begin | Overloaded. Begins a sprite batch operation. |
![]() |
Dispose | Overloaded. Releases unmanaged resources used by this object. |
![]() |
Draw | Overloaded. Adds a sprite to a batch of sprites to be rendered. |
![]() |
DrawString | Overloaded. Adds a string to a batch of sprites to be rendered. |
![]() |
End | Flushes the sprite batch and restores the device state to how it was before Begin was called. |
![]() |
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.) |
See Also
Reference
SpriteBatch Class
Microsoft.Xna.Framework.Graphics Namespace