All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
iOSTextureFileLoaderFactory.h
1 // Copyright eeGeo Ltd (2012-2017), All Rights Reserved
2 
3 #pragma once
4 
5 #include "ITextureFileLoader.h"
6 #include "IJpegLoader.h"
7 #include "iOSFileIO.h"
8 #include "AsyncTexturing.h"
9 
10 namespace Eegeo
11 {
12  namespace Unity
13  {
14  struct UnityCallbacks;
15  }
16 
17  namespace iOS
18  {
19  class iOSPNGDecoder;
20 
22  {
23  public:
24  static Helpers::ITextureFileLoader* CreateTextureFileLoader(iOSFileIO* pFileIO, Eegeo::Helpers::Jpeg::IJpegLoader& jpegLoader, iOSPNGDecoder& pngDecoder, const Unity::UnityCallbacks* pUnityCallbacks);
25  static Rendering::AsyncTexturing::ITextureFactory* CreateTextureFactory(Helpers::ITextureFileLoader& textureLoader);
26  };
27  }
28 }