virtualx-engine/modules/etc1/texture_loader_pkm.h

18 lines
556 B
C++
Raw Normal View History

2016-03-19 02:48:41 +01:00
#ifndef TEXTURE_LOADER_PKM_H
#define TEXTURE_LOADER_PKM_H
#include "io/resource_loader.h"
#include "scene/resources/texture.h"
2016-03-19 02:48:41 +01:00
class ResourceFormatPKM : public ResourceFormatLoader {
2016-03-19 02:48:41 +01:00
public:
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;
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