2016-03-19 01:48:41 +00:00
|
|
|
#ifndef TEXTURE_LOADER_PKM_H
|
|
|
|
#define TEXTURE_LOADER_PKM_H
|
|
|
|
|
|
|
|
#include "io/resource_loader.h"
|
2017-03-18 23:36:26 +00:00
|
|
|
#include "scene/resources/texture.h"
|
2016-03-19 01:48:41 +00:00
|
|
|
|
2017-03-18 23:36:26 +00:00
|
|
|
class ResourceFormatPKM : public ResourceFormatLoader {
|
2016-03-19 01:48:41 +00:00
|
|
|
public:
|
2017-03-18 23:36:26 +00:00
|
|
|
virtual RES load(const String &p_path, const String &p_original_path = "", Error *r_error = NULL);
|
2016-03-19 01:48:41 +00:00
|
|
|
virtual void get_recognized_extensions(List<String> *p_extensions) const;
|
2017-03-18 23:36:26 +00:00
|
|
|
virtual bool handles_type(const String &p_type) const;
|
2016-03-19 01:48:41 +00:00
|
|
|
virtual String get_resource_type(const String &p_path) const;
|
|
|
|
|
|
|
|
virtual ~ResourceFormatPKM() {}
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // TEXTURE_LOADER_PKM_H
|