rag
graphic 2d engine
ImageLoaderPVR.h
1 #ifndef _ImageLoaderPVR_H_
2 #define _ImageLoaderPVR_H_
3 
4 #include "ImageLoader.h"
5 #include <string>
6 
7 namespace rag
8 {
9  class Image;
10 
12  class ImageLoaderPVR : public ImageLoader
13  {
14 
15  public:
16 
17  ImageLoaderPVR(const std::string& name, rag::Image* image);
18  virtual ~ImageLoaderPVR();
19 
20  virtual bool loadInfo() override;
21  virtual bool loadImage() override;
22 
23  };
24 
25 }
26 
27 #endif
virtual bool loadInfo() override
Load header to know image size.
Definition: ImageLoaderPVR.cpp:28
virtual bool loadImage() override
Load image from a file.
Definition: ImageLoaderPVR.cpp:33
Interface to load images.
Definition: ImageLoader.h:8
Definition: Bitmap.h:8
Loader for .pvr compressed format.
Definition: ImageLoaderPVR.h:12
Image object.
Definition: Image.h:19