1. add assert condition of rendering when adding command
2. fix bug: renderTexture->SpriteRenderTextureBug
change assert message
adjust comment
Merge pull request #6240 from dabingnn/develop_add_rendererAssert

Trigger an assert if a command is added while render is rendering.