static int FindTextureStack(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         UnityEngine.Shader obj = (UnityEngine.Shader)ToLua.CheckObject(L, 1, typeof(UnityEngine.Shader));
         int    arg0            = (int)LuaDLL.luaL_checknumber(L, 2);
         string arg1            = null;
         int    arg2;
         bool   o = obj.FindTextureStack(arg0, out arg1, out arg2);
         LuaDLL.lua_pushboolean(L, o);
         LuaDLL.lua_pushstring(L, arg1);
         LuaDLL.lua_pushinteger(L, arg2);
         return(3);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }