- add gl_dither for toggling dithered output on and off
This commit is contained in:
parent
863b9fff8a
commit
d121fa21bf
6 changed files with 19 additions and 3 deletions
|
|
@ -18,6 +18,8 @@ public:
|
|||
int GrayFormula;
|
||||
int WindowPositionParity; // top-of-window might not be top-of-screen
|
||||
FVector2 Scale;
|
||||
float ColorScale;
|
||||
float Padding1, Padding2, Padding3;
|
||||
|
||||
static std::vector<UniformFieldDesc> Desc()
|
||||
{
|
||||
|
|
@ -30,6 +32,7 @@ public:
|
|||
{ "GrayFormula", UniformType::Int, offsetof(UniformBlock, GrayFormula) },
|
||||
{ "WindowPositionParity", UniformType::Int, offsetof(UniformBlock, WindowPositionParity) },
|
||||
{ "UVScale", UniformType::Vec2, offsetof(UniformBlock, Scale) },
|
||||
{ "ColorScale", UniformType::Float, offsetof(UniformBlock, ColorScale) },
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue