-
Notifications
You must be signed in to change notification settings - Fork 0
texture
dragekk edited this page Feb 16, 2023
·
3 revisions
saved global variables with name texture
converts base64 into texture
creates new texture
object that is texture
returns texture dimensions as vec2
returns rgba color of pixel at x, y
sets pixel at x, y to color
sets specified region to color
applies function to specified region function gets 3 arguments: x, y, color returned color will be used as new color, if no color returned pixel will not change
converts texture into base64
creates copy of texture