|
|
- //this source code was auto-generated by tolua#, do not modify it
- using System;
- using LuaInterface;
-
- public class PostEffectWrap
- {
- public static void Register(LuaState L)
- {
- L.BeginClass(typeof(PostEffect), typeof(UnityStandardAssets.ImageEffects.PostEffectsBase));
- L.RegFunction("GetSupported", GetSupported);
- L.RegFunction("CheckResources", CheckResources);
- L.RegFunction("ApplyFXAAMaterialProperties", ApplyFXAAMaterialProperties);
- L.RegFunction("ApplyBloomMaterialProperties", ApplyBloomMaterialProperties);
- L.RegFunction("ApplyBlurMaterialProperties", ApplyBlurMaterialProperties);
- L.RegFunction("RenderBlurScreenShot", RenderBlurScreenShot);
- L.RegFunction("ReleaseRenderTexCache", ReleaseRenderTexCache);
- L.RegFunction("__eq", op_Equality);
- L.RegFunction("__tostring", ToLua.op_ToString);
- L.RegVar("EnableFXAA", get_EnableFXAA, set_EnableFXAA);
- L.RegVar("contrastThreshold", get_contrastThreshold, set_contrastThreshold);
- L.RegVar("relativeThreshold", get_relativeThreshold, set_relativeThreshold);
- L.RegVar("subpixelBlending", get_subpixelBlending, set_subpixelBlending);
- L.RegVar("FXAAShader", get_FXAAShader, set_FXAAShader);
- L.RegVar("lowQuality", get_lowQuality, set_lowQuality);
- L.RegVar("EnableBloom", get_EnableBloom, set_EnableBloom);
- L.RegVar("threshold", get_threshold, set_threshold);
- L.RegVar("intensity", get_intensity, set_intensity);
- L.RegVar("blurSize", get_blurSize, set_blurSize);
- L.RegVar("blurIterations", get_blurIterations, set_blurIterations);
- L.RegVar("blurType", get_blurType, set_blurType);
- L.RegVar("fastBloomShader", get_fastBloomShader, set_fastBloomShader);
- L.RegVar("dualBloomShader", get_dualBloomShader, set_dualBloomShader);
- L.RegVar("use_dual_bloom", get_use_dual_bloom, set_use_dual_bloom);
- L.RegVar("EnableBlur", get_EnableBlur, set_EnableBlur);
- L.RegVar("use_dual_blur", get_use_dual_blur, set_use_dual_blur);
- L.RegVar("blurShader", get_blurShader, set_blurShader);
- L.RegVar("render_blur_effect", get_render_blur_effect, set_render_blur_effect);
- L.RegVar("get_screen_shot", get_get_screen_shot, set_get_screen_shot);
- L.RegVar("blurSpread", get_blurSpread, set_blurSpread);
- L.RegVar("blur_amount", get_blur_amount, set_blur_amount);
- L.RegVar("recurveMaxNum", get_recurveMaxNum, set_recurveMaxNum);
- L.RegVar("downSample", get_downSample, set_downSample);
- L.RegVar("dualBlurShader", get_dualBlurShader, set_dualBlurShader);
- L.EndClass();
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int GetSupported(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 1);
- PostEffect obj = (PostEffect)ToLua.CheckObject(L, 1, typeof(PostEffect));
- bool o = obj.GetSupported();
- LuaDLL.lua_pushboolean(L, o);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int CheckResources(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 1);
- PostEffect obj = (PostEffect)ToLua.CheckObject(L, 1, typeof(PostEffect));
- bool o = obj.CheckResources();
- LuaDLL.lua_pushboolean(L, o);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int ApplyFXAAMaterialProperties(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 1);
- PostEffect obj = (PostEffect)ToLua.CheckObject(L, 1, typeof(PostEffect));
- obj.ApplyFXAAMaterialProperties();
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int ApplyBloomMaterialProperties(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 1);
- PostEffect obj = (PostEffect)ToLua.CheckObject(L, 1, typeof(PostEffect));
- obj.ApplyBloomMaterialProperties();
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int ApplyBlurMaterialProperties(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 1);
- PostEffect obj = (PostEffect)ToLua.CheckObject(L, 1, typeof(PostEffect));
- obj.ApplyBlurMaterialProperties();
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int RenderBlurScreenShot(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 4);
- PostEffect obj = (PostEffect)ToLua.CheckObject(L, 1, typeof(PostEffect));
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
- LuaFunction arg2 = ToLua.CheckLuaFunction(L, 4);
- obj.RenderBlurScreenShot(arg0, arg1, arg2);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int ReleaseRenderTexCache(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 1);
- PostEffect obj = (PostEffect)ToLua.CheckObject(L, 1, typeof(PostEffect));
- obj.ReleaseRenderTexCache();
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int op_Equality(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 2);
- UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
- UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2);
- bool o = arg0 == arg1;
- LuaDLL.lua_pushboolean(L, o);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_EnableFXAA(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool ret = obj.EnableFXAA;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index EnableFXAA on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_contrastThreshold(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float ret = obj.contrastThreshold;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index contrastThreshold on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_relativeThreshold(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float ret = obj.relativeThreshold;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index relativeThreshold on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_subpixelBlending(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float ret = obj.subpixelBlending;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index subpixelBlending on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_FXAAShader(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- UnityEngine.Shader ret = obj.FXAAShader;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index FXAAShader on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_lowQuality(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool ret = obj.lowQuality;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index lowQuality on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_EnableBloom(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool ret = obj.EnableBloom;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index EnableBloom on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_threshold(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float ret = obj.threshold;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index threshold on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_intensity(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float ret = obj.intensity;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index intensity on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_blurSize(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float ret = obj.blurSize;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index blurSize on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_blurIterations(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- int ret = obj.blurIterations;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index blurIterations on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_blurType(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- BlurType ret = obj.blurType;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index blurType on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_fastBloomShader(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- UnityEngine.Shader ret = obj.fastBloomShader;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index fastBloomShader on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_dualBloomShader(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- UnityEngine.Shader ret = obj.dualBloomShader;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index dualBloomShader on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_use_dual_bloom(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool ret = obj.use_dual_bloom;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index use_dual_bloom on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_EnableBlur(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool ret = obj.EnableBlur;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index EnableBlur on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_use_dual_blur(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool ret = obj.use_dual_blur;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index use_dual_blur on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_blurShader(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- UnityEngine.Shader ret = obj.blurShader;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index blurShader on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_render_blur_effect(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool ret = obj.render_blur_effect;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index render_blur_effect on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_get_screen_shot(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool ret = obj.get_screen_shot;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index get_screen_shot on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_blurSpread(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float ret = obj.blurSpread;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index blurSpread on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_blur_amount(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float ret = obj.blur_amount;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index blur_amount on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_recurveMaxNum(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- int ret = obj.recurveMaxNum;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index recurveMaxNum on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_downSample(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- int ret = obj.downSample;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index downSample on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_dualBlurShader(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- UnityEngine.Shader ret = obj.dualBlurShader;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index dualBlurShader on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_EnableFXAA(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.EnableFXAA = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index EnableFXAA on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_contrastThreshold(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.contrastThreshold = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index contrastThreshold on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_relativeThreshold(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.relativeThreshold = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index relativeThreshold on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_subpixelBlending(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.subpixelBlending = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index subpixelBlending on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_FXAAShader(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- UnityEngine.Shader arg0 = (UnityEngine.Shader)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.Shader));
- obj.FXAAShader = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index FXAAShader on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_lowQuality(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.lowQuality = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index lowQuality on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_EnableBloom(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.EnableBloom = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index EnableBloom on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_threshold(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.threshold = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index threshold on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_intensity(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.intensity = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index intensity on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_blurSize(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.blurSize = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index blurSize on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_blurIterations(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
- obj.blurIterations = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index blurIterations on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_blurType(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- BlurType arg0 = (BlurType)ToLua.CheckObject(L, 2, typeof(BlurType));
- obj.blurType = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index blurType on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_fastBloomShader(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- UnityEngine.Shader arg0 = (UnityEngine.Shader)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.Shader));
- obj.fastBloomShader = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index fastBloomShader on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_dualBloomShader(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- UnityEngine.Shader arg0 = (UnityEngine.Shader)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.Shader));
- obj.dualBloomShader = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index dualBloomShader on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_use_dual_bloom(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.use_dual_bloom = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index use_dual_bloom on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_EnableBlur(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.EnableBlur = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index EnableBlur on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_use_dual_blur(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.use_dual_blur = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index use_dual_blur on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_blurShader(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- UnityEngine.Shader arg0 = (UnityEngine.Shader)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.Shader));
- obj.blurShader = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index blurShader on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_render_blur_effect(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.render_blur_effect = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index render_blur_effect on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_get_screen_shot(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.get_screen_shot = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index get_screen_shot on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_blurSpread(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.blurSpread = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index blurSpread on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_blur_amount(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.blur_amount = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index blur_amount on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_recurveMaxNum(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
- obj.recurveMaxNum = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index recurveMaxNum on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_downSample(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
- obj.downSample = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index downSample on a nil value" : e.Message);
- }
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_dualBlurShader(IntPtr L)
- {
- object o = null;
-
- try
- {
- o = ToLua.ToObject(L, 1);
- PostEffect obj = (PostEffect)o;
- UnityEngine.Shader arg0 = (UnityEngine.Shader)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.Shader));
- obj.dualBlurShader = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index dualBlurShader on a nil value" : e.Message);
- }
- }
- }
-
|