1.1 KiB
1.1 KiB
Rendering optimization (only render when screen changed) Eventsystem improvement Cursor is sometimes not visible on time
Program : VisualElement
Functions
| Method | Returns | Description |
|---|---|---|
| BasaltProgram.new | - | |
| BasaltProgram:resize | - | |
| BasaltProgram:resume | - | |
| BasaltProgram:run | - | |
| BasaltProgram:stop | - | |
| Program.new | Program | |
| Program:dispatchEvent | - | |
| Program:execute | - | |
| Program:focus | - | |
| Program:init | - | |
| Program:render | - |
BasaltProgram.new()
BasaltProgram:resize()
BasaltProgram:resume()
BasaltProgram:run()
BasaltProgram:stop()
Program.new()
Creates a new Program instance
Returns
ProgramobjectThe newly created Program instance
Usage
local element = Program.new("myId", basalt)