Esempio n. 1
0
        private void Update()
        {
            RenderRequest r = requests[0];

            r.lookDir = lookDir;

            requests[0] = r;
            exposureRenderer.RenderSize = new int2(renderSize.x, renderSize.y);
            exposureRenderer.Render(requests, float4x4.identity);
        }
Esempio n. 2
0
 static public int Render(IntPtr l)
 {
     try {
         UnityEngine.Renderer self = (UnityEngine.Renderer)checkSelf(l);
         System.Int32         a1;
         checkType(l, 2, out a1);
         self.Render(a1);
         return(0);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
 static public int Render(IntPtr l)
 {
     try {
         UnityEngine.Renderer self = (UnityEngine.Renderer)checkSelf(l);
         System.Int32         a1;
         checkType(l, 2, out a1);
         self.Render(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int Render(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UnityEngine.Renderer obj = (UnityEngine.Renderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.Renderer));
         int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
         obj.Render(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }