public virtual T RegisterRenderRequest <T>()
            where T : class, IRenderRequest
        {
            Renderer.MakeContextCurrent();
            T rr = RenderRequestFactory.CreateRenderRequest <T>();

            InitRR(rr);
            Renderer.EnqueueRequest(rr);
            Renderer.MakeContextNotCurrent();

            return(rr);
        }
        public virtual T RegisterRenderRequest <T>(int avatarId)
            where T : class, IAvatarRenderRequest
        {
            // TODO: check agentID or make the param an AgentController?

            Renderer.MakeContextCurrent();
            T rr = RenderRequestFactory.CreateRenderRequest <T>(avatarId);

            InitRR(rr);
            Renderer.EnqueueRequest(rr);
            Renderer.MakeContextNotCurrent();

            return(rr);
        }