Dayz Explorer 1.29.162510
Loading...
Searching...
No Matches
ppefxaa.c
Go to the documentation of this file.
1
3{
4 static const int PARAM_PRESET = 0;
5
6 override int GetPostProcessEffectID()
7 {
8 return PostProcessEffectType.FXAA;
9 }
10
11 override string GetDefaultMaterialPath()
12 {
13 return "Graphics/Materials/postprocess/fxaa";
14 }
15
16 override void RegisterMaterialParameters()
17 {
18 RegisterParameterScalarInt(PARAM_PRESET,"Preset",0,0,5);
19 }
20}
string GetDefaultMaterialPath()
override this if you want to use different path by default; '.emat' is appended automatically
void RegisterParameterScalarInt(int idx, string parameter_name, int default_value, int min, int max)
void RegisterMaterialParameters()
inserted into associative array by parameter int value, parameter registration order does not matter ...
int GetPostProcessEffectID()
Overriden in all material classes!
void PPEClassBase(string mat_path_override="")
FXAA - PostProcessEffectType.FXAA.
Definition ppefxaa.c:3
PostProcessEffectType
Post-process effect type.
Definition enworld.c:72