texture_loader_dds.h 530 B

12345678910111213141516171819
  1. #ifndef TEXTURE_LOADER_DDS_H
  2. #define TEXTURE_LOADER_DDS_H
  3. #include "scene/resources/texture.h"
  4. #include "io/resource_loader.h"
  5. class ResourceFormatDDS : public ResourceFormatLoader{
  6. public:
  7. virtual RES load(const String &p_path,const String& p_original_path="");
  8. virtual void get_recognized_extensions(List<String> *p_extensions) const;
  9. virtual bool handles_type(const String& p_type) const;
  10. virtual String get_resource_type(const String &p_path) const;
  11. virtual ~ResourceFormatDDS() {}
  12. };
  13. #endif // TEXTURE_LOADER_DDS_H