From 0b806ee0fc9097fa7bda7ac0109191c9c5e0a1ac Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 9 Feb 2014 22:10:30 -0300 Subject: GODOT IS OPEN SOURCE --- drivers/dds/texture_loader_dds.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 drivers/dds/texture_loader_dds.h (limited to 'drivers/dds/texture_loader_dds.h') diff --git a/drivers/dds/texture_loader_dds.h b/drivers/dds/texture_loader_dds.h new file mode 100644 index 0000000000..18a1485073 --- /dev/null +++ b/drivers/dds/texture_loader_dds.h @@ -0,0 +1,18 @@ +#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: + + virtual RES load(const String &p_path,const String& p_original_path=""); + virtual void get_recognized_extensions(List *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 -- cgit v1.2.3