#ifndef __GL_POSTPROCESSSTATE_H #define __GL_POSTPROCESSSTATE_H #include #include "gl_load/gl_interface.h" #include "matrix.h" #include "c_cvars.h" namespace OpenGLRenderer { class FGLPostProcessState { public: FGLPostProcessState(); ~FGLPostProcessState(); void SaveTextureBindings(unsigned int numUnits); private: FGLPostProcessState(const FGLPostProcessState &) = delete; FGLPostProcessState &operator=(const FGLPostProcessState &) = delete; GLint activeTex; TArray textureBinding; TArray samplerBinding; GLboolean blendEnabled; GLboolean scissorEnabled; GLboolean depthEnabled; GLboolean multisampleEnabled; GLint currentProgram; GLint blendEquationRgb; GLint blendEquationAlpha; GLint blendSrcRgb; GLint blendSrcAlpha; GLint blendDestRgb; GLint blendDestAlpha; }; } #endif