All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TextureNameHelpers.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include <string>
6 
7 namespace Eegeo
8 {
9  namespace Helpers
10  {
11  namespace TextureNameHelpers
12  {
13  const std::string GetPlatformTextureExtension(bool isAlpha);
14  bool TextureIsAlpha(const std::string &textureName);
15  const std::string GetTextureExtension(const std::string& textureName);
16  const std::string GetCubeTextureExtension(const std::string& textureName);
17  const std::string GetMultiFileCubeTextureExtension(const std::string& textureName);
18  std::string StripLastExtension(const std::string& textureName);
19  bool GetPlatformSupportsSingleFileCubeMaps(const std::string& textureName);
20  std::string GetImageNameForDevice(const std::string& name,
21  const std::string& resolutionSuffix,
22  const std::string& ext);
23  }
24  }
25 }