What is "immediate mode"? Give a code example.
When do I have to use immediate mode instead of retained mode? What are pros and cons of using each method?