Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SpriteBatch Members

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

NameDescription
Public MethodSpriteBatchInitializes a new instance of the class, which enables a group of sprites to be drawn using the same settings.
NameDescription
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.
NameDescription
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.)
NameDescription
Protected MethodFinalize (Inherited from Object.)
Protected MethodMemberwiseClone (Inherited from Object.)
NameDescription
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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.