namespace DaggerFramework { public class Texture2dLoader : ResourceLoader { public override Resource Load(string path) { var data = File.ReadAllBytes(path); var texture = new Texture2d(data); texture.Path = path; return texture; } } }