mirror of
https://github.com/DrBeef/Raze.git
synced 2024-12-15 15:11:01 +00:00
33 lines
515 B
C
33 lines
515 B
C
|
#pragma once
|
||
|
|
||
|
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;
|
||
|
|