819ccdd340
They are not particularly packaged in Linux distros so we do not
facilitate unbundling via SCons. There could be done if/when there
is interest.
Also s/pnm/pbm/, long-lived typo :)
(cherry picked from commit b1e8889d96
)
19 lines
550 B
C++
19 lines
550 B
C++
#ifndef TEXTURE_LOADER_PKM_H
|
|
#define TEXTURE_LOADER_PKM_H
|
|
|
|
#include "scene/resources/texture.h"
|
|
#include "io/resource_loader.h"
|
|
|
|
class ResourceFormatPKM : public ResourceFormatLoader{
|
|
public:
|
|
|
|
virtual RES load(const String &p_path,const String& p_original_path="",Error *r_error=NULL);
|
|
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;
|
|
|
|
virtual ~ResourceFormatPKM() {}
|
|
};
|
|
|
|
#endif // TEXTURE_LOADER_PKM_H
|