All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
LoadingScreenRenderables.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Rendering.h"
6 #include "Types.h"
7 
8 namespace Eegeo
9 {
10  namespace Rendering
11  {
13  {
14  public:
15  LoadingScreenRenderables(float screenWidth,
16  float screenHeight,
17  Renderables::WorldMeshRenderable* pNineSliceBorderRenderable,
18  Renderables::WorldMeshRenderable* pImageRenderable,
19  Renderables::WorldMeshRenderable* pLoadingBarQuadRenderable);
20 
22 
23  float GetScreenWidth() const { return m_screenWidth; }
24  float GetScreenHeight() const { return m_screenHeight; }
25 
26  Renderables::WorldMeshRenderable& GetNineSliceBorder() const { return *m_pNineSliceBorderRenderable; }
27  Renderables::WorldMeshRenderable& GetImage() const { return *m_pImageRenderable; }
28  Renderables::WorldMeshRenderable& GetLoadingBar() const { return *m_pLoadingBarQuadRenderable; }
29 
30  private:
31  const float m_screenWidth;
32  const float m_screenHeight;
33  Renderables::WorldMeshRenderable* const m_pNineSliceBorderRenderable;
34  Renderables::WorldMeshRenderable* const m_pImageRenderable;
35  Renderables::WorldMeshRenderable* const m_pLoadingBarQuadRenderable;
36  };
37  }
38 }