31 {
32
33 GameOptions options = new GameOptions;
34
36 string ret = "";
37 switch (loa.GetIndex())
38 {
40 ret = "Graphics/Materials/postprocess/hbao_low";
41 break;
42
44 ret = "Graphics/Materials/postprocess/hbao_medium";
45 break;
46
48 ret = "Graphics/Materials/postprocess/hbao_high";
49 break;
50
52 ret = "Graphics/Materials/postprocess/hbao_highest";
53 break;
54 }
55 return ret;
56 }
proto native OptionsAccess GetOptionByType(int accessType)
Get option by AccessType.
static const int POSTPROCESS_OPTION_VALUE_HIGH
static const int POSTPROCESS_OPTION_VALUE_LOW
static const int POSTPROCESS_OPTION_VALUE_MEDIUM
static const int POSTPROCESS_OPTION_VALUE_HIGHEST
OptionAccessType
C++ OptionAccessType.