summaryrefslogtreecommitdiff
path: root/Runtime/GfxDevice/opengles20/ShaderGeneratorGLES20.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-14 22:50:43 +0800
committerchai <chaifix@163.com>2019-08-14 22:50:43 +0800
commit15740faf9fe9fe4be08965098bbf2947e096aeeb (patch)
treea730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/GfxDevice/opengles20/ShaderGeneratorGLES20.h
+Unity Runtime codeHEADmaster
Diffstat (limited to 'Runtime/GfxDevice/opengles20/ShaderGeneratorGLES20.h')
-rw-r--r--Runtime/GfxDevice/opengles20/ShaderGeneratorGLES20.h24
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 */