public override void load(MediaLoader ml, FileSystem fs, string path) { MeshDef mesh = MeshFile.Load(fs, path); mesh.compile(ml); this.mesh = mesh.Compiled; }
public void compile(MediaLoader ml) { compiledMesh = new CompiledMesh(ml, this); }
protected override void unload() { mesh = null; }