SpriteBatch Members

The following tables list the members exposed by the SpriteBatch type.

Public MethodSpriteBatchInitializes a new instance of the class, which enables a group of sprites to be drawn using the same settings.

Public PropertyGraphicsDeviceGets the graphics device associated with this SpriteBatch.
Public PropertyIsDisposedGets a value that indicates whether the object is disposed.
Public PropertyNameGets or sets the name of this sprite batch.
Public PropertyTagGets or sets an object that uniquely identifies this sprite batch.

Public MethodBeginOverloaded. Prepares the graphics device for drawing sprites.
Public MethodDisposeOverloaded. Immediately releases the unmanaged resources used by this object.
Public MethodDrawOverloaded. Adds a sprite to the batch of sprites to be rendered.
Public MethodDrawStringOverloaded. Adds a sprite string to the batch of sprites to be rendered.
Public MethodEndFlushes the sprite batch and restores the device state to how it was before Begin was called.
Public MethodEquals (Inherited from Object.)
Public MethodGetHashCode (Inherited from Object.)
Public MethodGetType (Inherited from Object.)
Public MethodReferenceEquals (Inherited from Object.)
Public MethodToString (Inherited from Object.)

Protected MethodFinalize (Inherited from Object.)
Protected MethodMemberwiseClone (Inherited from Object.)

Public EventDisposing Occurs when Dispose is called or when this object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime.