summaryrefslogtreecommitdiff
path: root/Runtime/GfxDevice/opengles30/ShaderGeneratorGLES30.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/GfxDevice/opengles30/ShaderGeneratorGLES30.h')
-rw-r--r--Runtime/GfxDevice/opengles30/ShaderGeneratorGLES30.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/Runtime/GfxDevice/opengles30/ShaderGeneratorGLES30.h b/Runtime/GfxDevice/opengles30/ShaderGeneratorGLES30.h
new file mode 100644
index 0000000..57e0045
--- /dev/null
+++ b/Runtime/GfxDevice/opengles30/ShaderGeneratorGLES30.h
@@ -0,0 +1,24 @@
+#ifndef SHADERGENERATOR_GLES30_H
+#define SHADERGENERATOR_GLES30_H
+
+#include <string>
+
+class FixedFunctionStateGLES30;
+
+std::string BuildVertexShaderSourceGLES30 (const FixedFunctionStateGLES30& state);
+std::string BuildFragmentShaderSourceGLES30 (const FixedFunctionStateGLES30& state);
+
+struct FullStateCompareGLES30
+{
+ bool operator() (FixedFunctionStateGLES30 const& a, FixedFunctionStateGLES30 const& b) const;
+};
+struct VertexStateCompareGLES30
+{
+ bool operator() (FixedFunctionStateGLES30 const& a, FixedFunctionStateGLES30 const& b) const;
+};
+struct FragmentStateCompareGLES30
+{
+ bool operator() (FixedFunctionStateGLES30 const& a, FixedFunctionStateGLES30 const& b) const;
+};
+
+#endif /* SHADERGENERATOR_GLES30_H */