Renderer.AddCommand(new DrawLineCommand(pointA, pointB, Color.Red));
Renderer.AddCommand(new DrawRectangleCommand(new Rectangle(100,100,50,50), Color.Blue));The package library for Renderer AddCommand depends on the specific game engine or graphics library being used. For example, in Unity game engine, Renderer.AddCommand is part of the UnityEngine.Rendering namespace. In XNA, it is part of the Microsoft.Xna.Framework.Graphics namespace.