static Material * LoadFromMaterialDef(const char *filename, const TextureLoaderFn &tlf)
Load a .fplmat file, and all the textures referenced from it. Used by the more convenient AssetManage...
std::function< Texture *(const char *filename, TextureFormat format, TextureFlags flags)> TextureLoaderFn
used by some functions to allow the texture loading mechanism to be specified by the caller...
Definition: texture.h:431