[Gfx2Texture]|[nil] texture = gfx2.loadImage(width, height, Base64Texture)


Loads a texture from base64 text (can be used outside of render2)

Parameters


width

integer

the width of the texture

height

integer

the height of the texture

Base64Texture

string

The texture itself, convert with https://cdn.discordapp.com/attachments/877878499749289984/1029113574406242405/ImgToBase64.exe

Return Value


texture

Gfx2Texture | nil

The loaded texture or nil