updated the renderer interface to accept generic parameters instead of entities