public void Draw(object texture, System.Numerics.Vector2 position, System.Drawing.Rectangle?sourceRectangle, System.Drawing.Color color, float rotation, System.Numerics.Vector2 origin, System.Numerics.Vector2 scale, float depth) { var textureWrapper = (Texture2D)texture; _batch.Draw(textureWrapper, position.ToXNA(), sourceRectangle == null ? default(Microsoft.Xna.Framework.Rectangle?) : sourceRectangle.Value.ToXNA(), color.ToXNA(), rotation, origin.ToXNA(), scale.ToXNA(), SpriteEffects.None, depth); }