Lysa  0.0
Lysa 3D Engine
DeferredTasksBuffer Class Referenceabstract

Detailed Description

Queue for scheduling Lua closures to run on the main thread at the start of the next frame.

Lua full name: lysa.DeferredTasksBuffer

Public Member Functions

nil push (fn: fun())
 Schedules a Lua function to be called on the main thread at the start of the next frame. More...
 

Member Function Documentation

nil push ( fun()  fn)

Schedules a Lua function to be called on the main thread at the start of the next frame.

Parameters
fnfun()