diff options
Diffstat (limited to 'Runtime/GfxDevice/opengles20/ShaderGeneratorGLES20.h')
-rw-r--r-- | Runtime/GfxDevice/opengles20/ShaderGeneratorGLES20.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Runtime/GfxDevice/opengles20/ShaderGeneratorGLES20.h b/Runtime/GfxDevice/opengles20/ShaderGeneratorGLES20.h new file mode 100644 index 0000000..26669a1 --- /dev/null +++ b/Runtime/GfxDevice/opengles20/ShaderGeneratorGLES20.h @@ -0,0 +1,24 @@ +#ifndef SHADERGENERATOR_GLES20_H +#define SHADERGENERATOR_GLES20_H + +#include <string> + +class FixedFunctionStateGLES20; + +std::string BuildVertexShaderSourceGLES20 (const FixedFunctionStateGLES20& state); +std::string BuildFragmentShaderSourceGLES20 (const FixedFunctionStateGLES20& state); + +struct FullStateCompareGLES20 +{ + bool operator() (FixedFunctionStateGLES20 const& a, FixedFunctionStateGLES20 const& b) const; +}; +struct VertexStateCompareGLES20 +{ + bool operator() (FixedFunctionStateGLES20 const& a, FixedFunctionStateGLES20 const& b) const; +}; +struct FragmentStateCompareGLES20 +{ + bool operator() (FixedFunctionStateGLES20 const& a, FixedFunctionStateGLES20 const& b) const; +}; + +#endif /* SHADERGENERATOR_GLES20_H */ |