Ocular Engine
TextureResourceLoader_TGA.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_GRAPHICS_TEXTURE_RESOURCE_LOADER_TGA__H__
19 #define __H__OCULAR_GRAPHICS_TEXTURE_RESOURCE_LOADER_TGA__H__
20 
21 #include "TextureResourceLoader.hpp"
22 
23 //------------------------------------------------------------------------------------------
24 
29 namespace Ocular
30 {
35  namespace Graphics
36  {
41  {
42  public:
43 
45  virtual ~TextureResourceLoader_TGA();
46 
47  protected:
48 
49  virtual bool readFile(Core::File const& file, std::vector<Core::Color>& pixels, unsigned& width, unsigned& height);
50 
51  private:
52  };
53  }
57 }
62 //------------------------------------------------------------------------------------------
63 
64 #endif
Definition: TextureResourceLoader_TGA.hpp:40
Definition: TextureResourceLoader.hpp:51
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
virtual bool readFile(Core::File const &file, std::vector< Core::Color > &pixels, unsigned &width, unsigned &height)
Definition: TextureResourceLoader_TGA.cpp:68
Definition: File.hpp:41