mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update doc/*/scripting/ui.md
This commit is contained in:
parent
f9c5bd5e4d
commit
5b49c72d12
2 changed files with 2 additions and 0 deletions
|
|
@ -184,6 +184,7 @@ Here, *color* can be specified in the following ways:
|
|||
| data:clear(*color*) | fills the canvas with the specified RGBA color |
|
||||
| data:update() | applies changes to the canvas and uploads it to the GPU |
|
||||
| data:set_data(data: table<int>) | replaces pixel data (width * height * 4 numbers) |
|
||||
| data:create_texture(name: str) | creates and shares texture to renderer |
|
||||
|
||||
|
||||
## Inventory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue