1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
GLideN64/GLSLCombiner.h
2015-05-13 10:10:31 +06:00

26 lines
524 B
C++

#ifndef GLSL_COMBINER_H
#define GLSL_COMBINER_H
class GLSLCombiner : public OGLCombiner {
public:
GLSLCombiner(Combiner *_color, Combiner *_alpha);
virtual ~GLSLCombiner();
virtual void Set();
virtual void UpdateColors();
virtual void UpdateFBInfo();
virtual void UpdateDepthInfo();
virtual void UpdateAlphaTestInfo();
private:
GLuint m_aShaders[8];
GLuint m_program;
int m_nInputs;
};
void InitGLSLCombiner();
void DestroyGLSLCombiner();
void GLSL_CalcLOD();
void GLSL_PostCalcLOD();
#endif //GLSL_COMBINER_H