godot/drivers/pvr/texture_loader_pvr.h

23 lines
572 B
C
Raw Normal View History

2014-02-10 09:10:30 +08:00
#ifndef TEXTURE_LOADER_PVR_H
#define TEXTURE_LOADER_PVR_H
#include "scene/resources/texture.h"
#include "io/resource_loader.h"
class ResourceFormatPVR : public ResourceFormatLoader{
public:
virtual RES load(const String &p_path,const String& p_original_path,Error *r_error=NULL);
2014-02-10 09:10:30 +08:00
virtual void get_recognized_extensions(List<String> *p_extensions) const;
virtual bool handles_type(const String& p_type) const;
virtual String get_resource_type(const String &p_path) const;
ResourceFormatPVR();
virtual ~ResourceFormatPVR() {}
};
#endif // TEXTURE_LOADER_PVR_H