mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-16 07:21:28 +00:00
21 lines
No EOL
360 B
C++
21 lines
No EOL
360 B
C++
#ifndef __GL_LENSSHADER_H
|
|
#define __GL_LENSSHADER_H
|
|
|
|
#include "gl_shaderprogram.h"
|
|
|
|
class FLensShader
|
|
{
|
|
public:
|
|
void Bind();
|
|
|
|
FBufferedUniformSampler InputTexture;
|
|
FBufferedUniform1f AspectRatio;
|
|
FBufferedUniform1f Scale;
|
|
FBufferedUniform4f LensDistortionCoefficient;
|
|
FBufferedUniform4f CubicDistortionValue;
|
|
|
|
private:
|
|
FShaderProgram mShader;
|
|
};
|
|
|
|
#endif |