CVOpenGLTextureCacheFlush(_:_:)
Performs internal housekeeping/recycling operations on the cache.
Declaration
func CVOpenGLTextureCacheFlush(_ textureCache: CVOpenGLTextureCache, _ options: CVOptionFlags)Parameters
- textureCache:
The texture cache object to flush.
- options:
Currently unused, set to 0.
Discussion
This call must be made periodically to give the texture cache a chance to make OpenGL calls on the OpenGL context used to create it in order to perform its required housekeeping operations.