public void UpdateState(IRenderCommand renderCommand) { if (renderCommand is RequestPickingInfo requestPicking) { _requestPicking = requestPicking; } renderCommand.SetState(_renderInfo); InsertCommandInRenderOrder(renderCommand); }