mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-12 21:52:01 +00:00
41 lines
797 B
C
41 lines
797 B
C
|
#ifndef __GL_POSTPROCESSSTATE_H
|
||
|
#define __GL_POSTPROCESSSTATE_H
|
||
|
|
||
|
#include <string.h>
|
||
|
#include "matrix.h"
|
||
|
#include "c_cvars.h"
|
||
|
|
||
|
namespace OpenGLESRenderer
|
||
|
{
|
||
|
|
||
|
class FGLPostProcessState
|
||
|
{
|
||
|
public:
|
||
|
FGLPostProcessState();
|
||
|
~FGLPostProcessState();
|
||
|
|
||
|
void SaveTextureBindings(unsigned int numUnits);
|
||
|
|
||
|
private:
|
||
|
FGLPostProcessState(const FGLPostProcessState &) = delete;
|
||
|
FGLPostProcessState &operator=(const FGLPostProcessState &) = delete;
|
||
|
|
||
|
GLint activeTex;
|
||
|
TArray<GLint> textureBinding;
|
||
|
TArray<GLint> samplerBinding;
|
||
|
GLboolean blendEnabled;
|
||
|
GLboolean scissorEnabled;
|
||
|
GLboolean depthEnabled;
|
||
|
GLboolean multisampleEnabled;
|
||
|
GLint currentProgram;
|
||
|
GLint blendEquationRgb;
|
||
|
GLint blendEquationAlpha;
|
||
|
GLint blendSrcRgb;
|
||
|
GLint blendSrcAlpha;
|
||
|
GLint blendDestRgb;
|
||
|
GLint blendDestAlpha;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
#endif
|