Function CVOpenGLTextureCacheFlush

Source
pub unsafe extern "C-unwind" fn CVOpenGLTextureCacheFlush(
    texture_cache: &CVOpenGLTextureCache,
    options: CVOptionFlags,
)
👎Deprecated: OpenGL/OpenGLES is no longer supported. Use Metal APIs instead. (Define COREVIDEO_SILENCE_GL_DEPRECATION to silence these warnings)
Available on crate features CVOpenGLTextureCache and CVBase only.
Expand description

Performs internal housekeeping/recycling operations

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 do housekeeping operations.

Parameter textureCache: The texture cache object to flush

Parameter options: Currently unused, set to 0.

Returns: Returns kCVReturnSuccess on success