open fun shouldRecycle(shouldRecycle: Boolean): Unit
shouldRecycle
- Boolean: Indicates whether the source Bitmap or Buffer should be recycled immediately after the OpenGL texture has been created. The main reason for not recycling is Scene caching. Scene caching stores all textures and relevant OpenGL-specific data. This is used when the OpenGL context needs to be restored. The context typically needs to be restored when the application is re-activated or when a live wallpaper is rotated.
open fun shouldRecycle(shouldRecycle: Boolean): Unit
shouldRecycle
- Boolean: Indicates whether the source Bitmap or Buffer should be recycled immediately after the OpenGL texture has been created. The main reason for not recycling is Scene caching. Scene caching stores all textures and relevant OpenGL-specific data. This is used when the OpenGL context needs to be restored. The context typically needs to be restored when the application is re-activated or when a live wallpaper is rotated.