Module systems_rendertask
Defines render tasks with a layer and an execution callback.
Info:
- Author: Sharper Dev
Functions
| RenderTask:new (params) | Creates a render task. |
Functions
- RenderTask:new (params)
-
Creates a render task. The callback is invoked when the task is drawn.
Parameters:
- params
table Task options: optional
layernumber (defaults to0) andexecutefunction.
Returns:
-
RenderTask The created task.
Usage:
local task = RenderTask:new({ layer = 0, execute = function() -- Render code here end })
- params
table Task options: optional