clear_cache Function

public function clear_cache() result(removed)

Delete the cache's files (converted fonts, compiled shaders; nothing else in the directory) and its fonts and shaders directories if left empty (the cache directory itself is kept): the number of files removed, or -1 if some couldn't be. They are made again when next needed.

Arguments

None

Return Value integer


Calls

proc~~clear_cache~~CallsGraph proc~clear_cache clear_cache interface~vkf_cache_clear vkf_cache_clear proc~clear_cache->interface~vkf_cache_clear

Source Code

    integer function clear_cache() result(removed)
        removed = int(vkf_cache_clear())
    end function clear_cache