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