summaryrefslogtreecommitdiff
path: root/drivers/dds/texture_loader_dds.h
blob: 18a148507378ba4468134dd642db028a8434c51f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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<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