源战役客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

108 lines
2.7 KiB

//this source code was auto-generated by tolua#, do not modify it
using System;
using LuaInterface;
public class RenderBloomTextureWrap
{
public static void Register(LuaState L)
{
L.BeginClass(typeof(RenderBloomTexture), typeof(UnityEngine.MonoBehaviour));
L.RegFunction("ChangeRenderTag", ChangeRenderTag);
L.RegFunction("SetRenderShader", SetRenderShader);
L.RegFunction("__eq", op_Equality);
L.RegFunction("__tostring", ToLua.op_ToString);
L.RegVar("m_FollowCamera", get_m_FollowCamera, set_m_FollowCamera);
L.EndClass();
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int ChangeRenderTag(IntPtr L)
{
try
{
ToLua.CheckArgsCount(L, 2);
RenderBloomTexture obj = (RenderBloomTexture)ToLua.CheckObject(L, 1, typeof(RenderBloomTexture));
string arg0 = ToLua.CheckString(L, 2);
obj.ChangeRenderTag(arg0);
return 0;
}
catch(Exception e)
{
return LuaDLL.toluaL_exception(L, e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int SetRenderShader(IntPtr L)
{
try
{
ToLua.CheckArgsCount(L, 2);
RenderBloomTexture obj = (RenderBloomTexture)ToLua.CheckObject(L, 1, typeof(RenderBloomTexture));
UnityEngine.Shader arg0 = (UnityEngine.Shader)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.Shader));
obj.SetRenderShader(arg0);
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_m_FollowCamera(IntPtr L)
{
object o = null;
try
{
o = ToLua.ToObject(L, 1);
RenderBloomTexture obj = (RenderBloomTexture)o;
UnityEngine.Camera ret = obj.m_FollowCamera;
ToLua.Push(L, ret);
return 1;
}
catch(Exception e)
{
return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_FollowCamera on a nil value" : e.Message);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int set_m_FollowCamera(IntPtr L)
{
object o = null;
try
{
o = ToLua.ToObject(L, 1);
RenderBloomTexture obj = (RenderBloomTexture)o;
UnityEngine.Camera arg0 = (UnityEngine.Camera)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.Camera));
obj.m_FollowCamera = arg0;
return 0;
}
catch(Exception e)
{
return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_FollowCamera on a nil value" : e.Message);
}
}
}