LoadTextureFromBuffer
Load a texture from raw image bytes.
Syntax
Susano.LoadTextureFromBuffer(data) -> number, number, numberParameters
Return(s)
Behavior
Example(s)
local imageBytes = "" -- your image bytes
local id, w, h = Susano.LoadTextureFromBuffer(imageBytes)Last updated