storages | Pass the image storage name you want to put in the cache as an array (an object of the Array class). The one written earlier has priority. Kirikiri manages the cache using the character string specified in the first argument of Layer.loadImages as it is as a key. To make the cache meaningful, specify here The image storage name must be the same as the one specified in the first argument of Layer.loadImages. |
limitbytes | Specifies the limit of the cache capacity to be used in calling this method in bytes. Specify 0 to use all of the cache. Specifying a positive number will attempt to use the cache up to that number of bytes. If you specify a negative number, the current cache limit (System.graphicCacheLimit) will be added to the number (but subtracted because it adds a "negative number"). Used as If the result is a zero or negative limit, the method exits silently. For example, specifying -2 * 1024 * 1024 is equivalent to specifying the current cache limit minus 2MB. This is useful if you want more space in the cache. |
timeout | Specify the timeout (time limit) in ms. If you specify 0, there is no limit. After the time specified by this argument has elapsed, this method stops loading any further images and returns. However, if a timeout occurs while loading an image, it will not return until the image has finished loading. |