MCPcopy Create free account
hub / github.com/OpenDiablo2/HellSpawner / CreateTextureFromFile

Method CreateTextureFromFile

hscommon/textureloader.go:107–116  ·  view source on GitHub ↗

CreateTextureFromFile creates a texture using io.Reader given

(fileData []byte, cb func(*g.Texture))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

CreateTextureFromARGBMethod · 0.95
convertToImageFunction · 0.85

Tested by

no test coverage detected