mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-23 17:30:56 +00:00
21 lines
No EOL
334 B
C++
21 lines
No EOL
334 B
C++
#ifndef __GL_PRESENTSHADER_H
|
|
#define __GL_PRESENTSHADER_H
|
|
|
|
#include "gl_shaderprogram.h"
|
|
|
|
class FPresentShader
|
|
{
|
|
public:
|
|
void Bind();
|
|
|
|
FBufferedUniform1i InputTexture;
|
|
FBufferedUniform1f InvGamma;
|
|
FBufferedUniform1f Contrast;
|
|
FBufferedUniform1f Brightness;
|
|
FBufferedUniform2f Scale;
|
|
|
|
private:
|
|
FShaderProgram mShader;
|
|
};
|
|
|
|
#endif |