use Std.instance instead of Std.is
added hmd.Library.getBuffers
clone Material name
support xtra to hmd