diff options
author | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
commit | 15740faf9fe9fe4be08965098bbf2947e096aeeb (patch) | |
tree | a730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/GfxDevice/opengles30/ShaderGeneratorGLES30.h |
Diffstat (limited to 'Runtime/GfxDevice/opengles30/ShaderGeneratorGLES30.h')
-rw-r--r-- | Runtime/GfxDevice/opengles30/ShaderGeneratorGLES30.h | 24 |
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 */ |