gzdoom-gles/src/gl/renderer/gl_postprocessstate.h

41 lines
866 B
C
Raw Normal View History

#ifndef __GL_POSTPROCESSSTATE_H
#define __GL_POSTPROCESSSTATE_H
#include <string.h>
#include "gl/system/gl_interface.h"
#include "gl/data/gl_data.h"
#include "gl/data/gl_matrix.h"
#include "c_cvars.h"
#include "r_defs.h"
class FGLPostProcessState
{
public:
FGLPostProcessState();
~FGLPostProcessState();
2016-08-29 23:09:21 +00:00
void SaveTextureBinding1();
private:
FGLPostProcessState(const FGLPostProcessState &) = delete;
FGLPostProcessState &operator=(const FGLPostProcessState &) = delete;
GLint activeTex;
2016-08-29 23:09:21 +00:00
GLint textureBinding[2];
2016-08-23 07:18:18 +00:00
GLint samplerBinding[2];
GLboolean blendEnabled;
GLboolean scissorEnabled;
GLboolean depthEnabled;
GLboolean multisampleEnabled;
GLint currentProgram;
GLint blendEquationRgb;
GLint blendEquationAlpha;
GLint blendSrcRgb;
GLint blendSrcAlpha;
GLint blendDestRgb;
GLint blendDestAlpha;
2016-08-29 23:09:21 +00:00
bool textureBinding1Saved = false;
};
#endif