summaryrefslogtreecommitdiff
path: root/Runtime/GfxDevice/opengles30/ShaderGeneratorGLES30.h
blob: 57e0045b8cd78ab648c33a434efa8b879b1e6c1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 */