2014-02-10 01:10:30 +00:00
|
|
|
#ifndef TEXTURE_LOADER_DDS_H
|
|
|
|
#define TEXTURE_LOADER_DDS_H
|
|
|
|
|
|
|
|
#include "scene/resources/texture.h"
|
|
|
|
#include "io/resource_loader.h"
|
|
|
|
|
|
|
|
class ResourceFormatDDS : public ResourceFormatLoader{
|
|
|
|
public:
|
|
|
|
|
2015-08-23 23:15:56 +00:00
|
|
|
virtual RES load(const String &p_path,const String& p_original_path="",Error *r_error=NULL);
|
2014-02-10 01:10:30 +00: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;
|
|
|
|
|
|
|
|
virtual ~ResourceFormatDDS() {}
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // TEXTURE_LOADER_DDS_H
|