Click or drag to resize
GraphicsManagerDrawTexture Method (Texture2D, Rectangle, Rectangle)
Draw a plain texture.

Namespace:  GeonBit.Core.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static void DrawTexture(
	Texture2D texture,
	Rectangle sourceRect,
	Rectangle destRect
)

Parameters

texture
Type: Texture2D
Texture to draw.
sourceRect
Type: Rectangle
Source rectangle in texture (also affect drawing size).
destRect
Type: Rectangle
Dest rectangle in viewport.
See Also