SpriteBatch Members
XNA Game Studio 3.0
The following tables list the members exposed by the SpriteBatch type.
| Name | Description | |
|---|---|---|
![]() | SpriteBatch | Initializes a new instance of the class, which enables a group of sprites to be drawn using the same settings. |
| Name | Description | |
|---|---|---|
![]() | GraphicsDevice | Gets the graphics device associated with this SpriteBatch. |
![]() | IsDisposed | Gets a value that indicates whether the object is disposed. |
![]() | Name | Gets or sets the name of this sprite batch. |
![]() | Tag | Gets or sets an object that uniquely identifies this sprite batch. |
| Name | Description | |
|---|---|---|
![]() | Begin | Overloaded. Prepares the graphics device for drawing sprites. |
![]() | Dispose | Overloaded. Immediately releases the unmanaged resources used by this object. |
![]() | Draw | Overloaded. Adds a sprite to the batch of sprites to be rendered. |
![]() | DrawString | Overloaded. Adds a sprite string to the 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.) |
![]() | ReferenceEquals | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | Finalize | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | Disposing | Occurs when Dispose is called or when this object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime. |



