![Real-Time 3D Graphics with WebGL 2](https://wfqqreader-1252317822.image.myqcloud.com/cover/219/36699219/b_36699219.jpg)
上QQ阅读APP看书,第一时间看更新
Retained-Mode Rendering
A retained-mode API is declarative. The application builds a scene from primitives, such as shapes and lines, and then the graphics library maintains a scene model in memory. To change what is rendered, the application issues a command to update the scene, which could include, for example, adding or removing a shape; the library is then responsible for managing and redrawing the scene: