qzdoom/src/gl/shaders/gl_lensshader.h

21 lines
360 B
C
Raw Normal View History

2016-08-02 15:32:21 +00:00
#ifndef __GL_LENSSHADER_H
#define __GL_LENSSHADER_H
#include "gl_shaderprogram.h"
class FLensShader
{
public:
void Bind();
FBufferedUniformSampler InputTexture;
FBufferedUniform1f AspectRatio;
FBufferedUniform1f Scale;
2016-08-02 15:32:21 +00:00
FBufferedUniform4f LensDistortionCoefficient;
FBufferedUniform4f CubicDistortionValue;
private:
FShaderProgram mShader;
};
#endif