mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-03 09:32:45 +00:00
35 lines
557 B
C
35 lines
557 B
C
#pragma once
|
|
|
|
#include "zstring.h"
|
|
#include "tarray.h"
|
|
|
|
enum class PostProcessUniformType
|
|
{
|
|
Undefined,
|
|
Int,
|
|
Float,
|
|
Vec2,
|
|
Vec3
|
|
};
|
|
|
|
struct PostProcessUniformValue
|
|
{
|
|
PostProcessUniformType Type = PostProcessUniformType::Undefined;
|
|
double Values[4] = { 0.0, 0.0, 0.0, 0.0 };
|
|
};
|
|
|
|
struct PostProcessShader
|
|
{
|
|
FString Target;
|
|
FString ShaderLumpName;
|
|
int ShaderVersion = 0;
|
|
|
|
FString Name;
|
|
bool Enabled = false;
|
|
|
|
TMap<FString, PostProcessUniformValue> Uniforms;
|
|
TMap<FString, FString> Textures;
|
|
};
|
|
|
|
extern TArray<PostProcessShader> PostProcessShaders;
|
|
|