https://github.com/coronalabs/sample-textureload
This repository contain TextureLoad sample + Images to load.
https://github.com/coronalabs/sample-textureload
Last synced: 12 months ago
JSON representation
This repository contain TextureLoad sample + Images to load.
- Host: GitHub
- URL: https://github.com/coronalabs/sample-textureload
- Owner: coronalabs
- Created: 2016-06-16T16:59:07.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-02-16T01:10:14.000Z (over 9 years ago)
- Last Synced: 2025-06-29T17:31:55.514Z (12 months ago)
- Language: Lua
- Size: 34.7 MB
- Stars: 1
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.txt
Awesome Lists containing this project
README
This sample exhibits the performance difference between pre-loading and caching large images versus loading them "on demand." Specifically, observe how the animated spinner stutters/stops when a new photo is loaded on demand, but if the images are pre-loaded and cached, the spinner animation is not interrupted.
The performance difference is more apparent when this sample is built/deployed to an actual mobile device.
Note that network connectivity is required to initially download the large image files.