Immediate mode is an API design pattern in computer graphics libraries, in which
without the use of extensive indirection – thus immediate – to retained resources. It does not preclude the use of double-buffering.
Retained mode is an alternative approach. Historically, retained mode has been the dominant style in GUI libraries; however, both can coexist in the same library and are not necessarily exclusive in practice.