All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TextShaderSet.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Types.h"
6 #include "Rendering.h"
7 
8 namespace Eegeo
9 {
10  namespace Rendering
11  {
12  namespace Shaders
13  {
15  {
16  public:
19  Rendering::Shaders::TextShader& withOutline,
20  Rendering::Shaders::SdfTextShader& sdfUniformScaled,
21  Rendering::Shaders::SdfTextShader& sdfUniformScaledSuperSampled,
23  Rendering::Shaders::SdfTextShader& sdfSuperSampled
24  );
25 
26  Rendering::Shaders::TextShader& GetNoOutline() const { return m_noOutline; }
27  Rendering::Shaders::TextShader& GetWithOutline() const { return m_withOutline; }
28  Rendering::Shaders::SdfTextShader& GetSdfUniformScaled() const { return m_sdfUniformScaled; }
29  Rendering::Shaders::SdfTextShader& GetSdfUniformScaledSuperSampled() const { return m_sdfUniformScaledSuperSampled; }
30  Rendering::Shaders::SdfTextShader& GetSdf() const { return m_sdf; }
31  Rendering::Shaders::SdfTextShader& GetSdfSuperSampled() const { return m_sdfSuperSampled; }
32  private:
33  Rendering::Shaders::TextShader& m_noOutline;
34  Rendering::Shaders::TextShader& m_withOutline;
35  Rendering::Shaders::SdfTextShader& m_sdfUniformScaled;
36  Rendering::Shaders::SdfTextShader& m_sdfUniformScaledSuperSampled;
38  Rendering::Shaders::SdfTextShader& m_sdfSuperSampled;
39  };
40  }
41  }
42 }