40 #ifndef INCLUDED_TEXTURE_LOADER_H
41 #define INCLUDED_TEXTURE_LOADER_H
65 static GLS_EXPORT TextureLoaderList*
Instance();
119 GLS_EXPORT
Image* LoadTextureIOS(
const char* filename,
const Image::LoadOptions& options,
const bool optimizeTextureLoad );
164 virtual bool IsFileType(
const char* filename ) = 0;
virtual bool IsFileType(const char *filename)=0
virtual const char * GenerateDeclaration()=0
Image * LoadTexture(const char *filename, const Image::LoadOptions &options, bool allowNPOT=true)
Definition: texture_loader.h:132
virtual const char * GenerateHeader()=0
The base class for GL Studio plugin file loaders, disti::Plugin.
Definition: texture_loader.h:55
TextureLoader * SupportsExtension(const char *ext)
A file for all GL Studio files to include.
static TextureLoaderList * Instance()
The Image class. All textures are converted internally into Images.
void AddToList(TextureLoaderList *list=TextureLoaderList::Instance())
The List_c class. Generic linked list.
virtual const char * PluginType()
static bool IsOptimizeTextureLoading()
virtual bool SupportsExtension(const char *ext)=0
virtual const char * FilterString()=0
virtual const char * FilterDescription()=0
void InsertObject(TextureLoader *importer)
virtual Image * LoadTexture(const char *filename, const Image::LoadOptions &options, bool allowNPOT=true)=0
Definition: bmpimage.h:46
static void SetOptimizeTextureLoading(const bool enable)
Image * LoadTextureWithOptimization(const char *filename, const Image::LoadOptions &options, const bool optimizeTextureLoad, bool allowNPOT=true)