- Real-Time 3D Graphics with WebGL 2
- Farhad Ghayour Diego Cantor
- 65字
- 2021-06-10 19:42:50
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: