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 layer number (defaults to 0) and execute function.

Returns:

    RenderTask The created task.

Usage:

    local task = RenderTask:new({
        layer = 0,
    execute = function()
        -- Render code here
    end })
generated by LDoc 1.5.0 Last updated 2026-10-04 12:53:32