add canvas:unbind_texture method

This commit is contained in:
MihailRis
2025-11-11 17:46:38 +03:00
parent 7715301d65
commit b9777cc682
4 changed files with 14 additions and 0 deletions
+1
View File
@@ -196,6 +196,7 @@ Here, *color* can be specified in the following ways:
| 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 |
| data:unbind_texture() | unbinds the texture from the canvas |
## Inline frame (iframe)