Contents

clearCaches()

Frees any cached data, such as temporary images, associated with the context and runs the garbage collector.

Declaration

func clearCaches()

Discussion

You can use this method to remove textures from the texture cache that reference deleted images.

See Also

Managing Resources