Lily/Documentation
List of functions in lily
table.
Function list correspond to Lily v2.0.x |
Contents
Lily Functions
lily.getThreadCount
When love.system is not loaded, it uses other ways to get the amount of logical CPU. If all else fails, fallback to 1. |
Synopsis
count = lily.getThreadCount( )
Arguments
None.
Returns
number count
- Amount of threads used by Lily. This is mostly likely amount of logical CPU available.
lily.getThreadsTaskCount
Retrieves the total pending task for every thread.
Synopsis
threadsTaskCount = lily.getThreadsTaskCount( )
Arguments
None.
Returns
table threadsTaskCount
- Table with n-elements depending on
lily.getThreadCount()
. Each index is the task count of thread-n.
lily.quit
Uninitializes Lily.
This function should only be called if you plan restarting your game with love.event.quit("restart") . This is true when using LOVE under iOS!
|
Synopsis
lily.quit( )
Arguments
None.
Returns
None.
Asset Loading Functions
TODO