1
0
Fork 0

feat(engine): add LoadImageFromMemory()

This commit is contained in:
Henrik Hautakoski 2025-09-25 05:10:44 +02:00
parent 5b54466018
commit 93736e060e

7
engine/graphics/image.go Normal file
View file

@ -0,0 +1,7 @@
package graphics
import rl "github.com/gen2brain/raylib-go/raylib"
func LoadImageFromMemory(typ string, data []byte) *rl.Image {
return rl.LoadImageFromMemory(typ, data, int32(len(data)))
}