summaryrefslogtreecommitdiff
path: root/Runtime/GfxDevice/opengles20/ShaderGeneratorGLES20.h
blob: 26669a15d9abc0643922cf2cd5b5d49ef9462ecb (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_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 */