Generate mipmap levels of a render texture.
static public int GenerateMips(IntPtr l) { try { UnityEngine.RenderTexture self = (UnityEngine.RenderTexture)checkSelf(l); self.GenerateMips(); return(0); } catch (Exception e) { return(error(l, e)); } }
static int QPYX_GenerateMips_YXQP(IntPtr L_YXQP) { try { ToLua.CheckArgsCount(L_YXQP, 1); UnityEngine.RenderTexture QPYX_obj_YXQP = (UnityEngine.RenderTexture)ToLua.CheckObject <UnityEngine.RenderTexture>(L_YXQP, 1); QPYX_obj_YXQP.GenerateMips(); return(0); } catch (Exception e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP)); } }
static int GenerateMips(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UnityEngine.RenderTexture obj = (UnityEngine.RenderTexture)ToLua.CheckObject <UnityEngine.RenderTexture>(L, 1); obj.GenerateMips(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GenerateMips(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("UnityEngine.RenderTexture.GenerateMips"); #endif try { ToLua.CheckArgsCount(L, 1); UnityEngine.RenderTexture obj = (UnityEngine.RenderTexture)ToLua.CheckObject<UnityEngine.RenderTexture>(L, 1); obj.GenerateMips(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } }