Click or drag to resize
AB4D logo

SpriteBatchDraw Method

Overload List
 NameDescription
Public methodDraw(ShaderResourceView, RectangleF, Boolean) Draw method adds the specified texture to the destinationRectangle and with specified mask defined by the color parameter. Draw method must be called after Begin and End methods are called.
Public methodDraw(ShaderResourceView, RectangleF, Boolean, Color4) Draw method adds the specified texture to the destinationRectangle and with specified mask defined by the color parameter. Draw method must be called after Begin and End methods are called.
Public methodDraw(ShaderResourceView, RectangleF, RectangleF, Boolean, Color4) Draw method adds the specified texture to the destinationRectangle and with specified mask defined by the color parameter. The method takes sourceRectangle as parameter. This can be used to have one texture with many images. Draw method must be called after Begin and End methods are called.
Top
See Also