2015-12-04 14:18:28 +01:00
|
|
|
/*************************************************/
|
|
|
|
/* image_loader_webp.h */
|
|
|
|
/*************************************************/
|
|
|
|
/* This file is part of: */
|
|
|
|
/* GODOT ENGINE */
|
|
|
|
/*************************************************/
|
|
|
|
/* Source code within this file is: */
|
2016-01-01 14:50:53 +01:00
|
|
|
/* (c) 2007-2016 Juan Linietsky, Ariel Manzur */
|
2015-12-04 14:18:28 +01:00
|
|
|
/* All Rights Reserved. */
|
|
|
|
/*************************************************/
|
|
|
|
|
|
|
|
#ifndef IMAGE_LOADER_WEBP_H
|
|
|
|
#define IMAGE_LOADER_WEBP_H
|
|
|
|
|
|
|
|
#include "io/image_loader.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
@author Juan Linietsky <reduzio@gmail.com>
|
|
|
|
*/
|
|
|
|
class ImageLoaderWEBP : public ImageFormatLoader {
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
virtual Error load_image(Image *p_image,FileAccess *f);
|
|
|
|
virtual void get_recognized_extensions(List<String> *p_extensions) const;
|
|
|
|
ImageLoaderWEBP();
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|