TextureLoader Class. This class only defines static function for load data from image file. More...
#include <TextureLoader.h>
Static Public Member Functions | |
| static void | Load (const std::string &fileName, Texture2D *outTexture) |
| Load image to a Texture2D object. | |
| static void | Load (const std::string &fileName, Texture2DCube *outTexture) |
| Load image to a Texture2DCube object. | |
Static Private Member Functions | |
| static bool | SearchFile (const std::string &fileName, std::function< void(const std::string &)> binF, std::function< void(const std::string &)> srcF) |
| Search texture file and load. | |
| static bool | LoadBin (const std::string &fileName, const std::string &it, Texture2D *outTexture) |
| Function of load a ktx file. | |
| static bool | LoadSrc (const std::string &fileName, const std::string &it, Texture2D *outTexture, bool isCreateCompressTexture=true) |
| Function of load a src file. | |
TextureLoader Class. This class only defines static function for load data from image file.
Definition at line 26 of file TextureLoader.h.