| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686 |
- //this source code was auto-generated by tolua#, do not modify it
- using System;
- using LuaInterface;
- public class UnityEngine_RenderTextureDescriptorWrap
- {
- public static void Register(LuaState L)
- {
- L.BeginClass(typeof(UnityEngine.RenderTextureDescriptor), null, "RenderTextureDescriptor");
- L.RegFunction("New", _CreateUnityEngine_RenderTextureDescriptor);
- L.RegFunction("__tostring", ToLua.op_ToString);
- L.RegVar("width", get_width, set_width);
- L.RegVar("height", get_height, set_height);
- L.RegVar("msaaSamples", get_msaaSamples, set_msaaSamples);
- L.RegVar("volumeDepth", get_volumeDepth, set_volumeDepth);
- L.RegVar("colorFormat", get_colorFormat, set_colorFormat);
- L.RegVar("depthBufferBits", get_depthBufferBits, set_depthBufferBits);
- L.RegVar("dimension", get_dimension, set_dimension);
- L.RegVar("shadowSamplingMode", get_shadowSamplingMode, set_shadowSamplingMode);
- L.RegVar("vrUsage", get_vrUsage, set_vrUsage);
- L.RegVar("flags", get_flags, null);
- L.RegVar("memoryless", get_memoryless, set_memoryless);
- L.RegVar("sRGB", get_sRGB, set_sRGB);
- L.RegVar("useMipMap", get_useMipMap, set_useMipMap);
- L.RegVar("autoGenerateMips", get_autoGenerateMips, set_autoGenerateMips);
- L.RegVar("enableRandomWrite", get_enableRandomWrite, set_enableRandomWrite);
- L.RegVar("bindMS", get_bindMS, set_bindMS);
- L.EndClass();
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _CreateUnityEngine_RenderTextureDescriptor(IntPtr L)
- {
- try
- {
- int count = LuaDLL.lua_gettop(L);
- if (count == 2)
- {
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 1);
- int arg1 = (int)LuaDLL.luaL_checknumber(L, 2);
- UnityEngine.RenderTextureDescriptor obj = new UnityEngine.RenderTextureDescriptor(arg0, arg1);
- ToLua.PushValue(L, obj);
- return 1;
- }
- else if (count == 3)
- {
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 1);
- int arg1 = (int)LuaDLL.luaL_checknumber(L, 2);
- UnityEngine.RenderTextureFormat arg2 = (UnityEngine.RenderTextureFormat)ToLua.CheckObject(L, 3, typeof(UnityEngine.RenderTextureFormat));
- UnityEngine.RenderTextureDescriptor obj = new UnityEngine.RenderTextureDescriptor(arg0, arg1, arg2);
- ToLua.PushValue(L, obj);
- return 1;
- }
- else if (count == 4)
- {
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 1);
- int arg1 = (int)LuaDLL.luaL_checknumber(L, 2);
- UnityEngine.RenderTextureFormat arg2 = (UnityEngine.RenderTextureFormat)ToLua.CheckObject(L, 3, typeof(UnityEngine.RenderTextureFormat));
- int arg3 = (int)LuaDLL.luaL_checknumber(L, 4);
- UnityEngine.RenderTextureDescriptor obj = new UnityEngine.RenderTextureDescriptor(arg0, arg1, arg2, arg3);
- ToLua.PushValue(L, obj);
- return 1;
- }
- else if (count == 0)
- {
- UnityEngine.RenderTextureDescriptor obj = new UnityEngine.RenderTextureDescriptor();
- ToLua.PushValue(L, obj);
- return 1;
- }
- else
- {
- return LuaDLL.luaL_throw(L, "invalid arguments to ctor method: UnityEngine.RenderTextureDescriptor.New");
- }
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_width(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- int ret = obj.width;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index width on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_height(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- int ret = obj.height;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index height on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_msaaSamples(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- int ret = obj.msaaSamples;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index msaaSamples on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_volumeDepth(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- int ret = obj.volumeDepth;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index volumeDepth on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_colorFormat(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- UnityEngine.RenderTextureFormat ret = obj.colorFormat;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index colorFormat on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_depthBufferBits(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- int ret = obj.depthBufferBits;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index depthBufferBits on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_dimension(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- UnityEngine.Rendering.TextureDimension ret = obj.dimension;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index dimension on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_shadowSamplingMode(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- UnityEngine.Rendering.ShadowSamplingMode ret = obj.shadowSamplingMode;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index shadowSamplingMode on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_vrUsage(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- UnityEngine.VRTextureUsage ret = obj.vrUsage;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index vrUsage on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_flags(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- UnityEngine.RenderTextureCreationFlags ret = obj.flags;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index flags on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_memoryless(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- UnityEngine.RenderTextureMemoryless ret = obj.memoryless;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index memoryless on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_sRGB(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- bool ret = obj.sRGB;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index sRGB on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_useMipMap(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- bool ret = obj.useMipMap;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index useMipMap on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_autoGenerateMips(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- bool ret = obj.autoGenerateMips;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index autoGenerateMips on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_enableRandomWrite(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- bool ret = obj.enableRandomWrite;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableRandomWrite on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_bindMS(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- bool ret = obj.bindMS;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index bindMS on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_width(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
- obj.width = arg0;
- ToLua.SetBack(L, 1, obj);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index width on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_height(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
- obj.height = arg0;
- ToLua.SetBack(L, 1, obj);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index height on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_msaaSamples(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
- obj.msaaSamples = arg0;
- ToLua.SetBack(L, 1, obj);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index msaaSamples on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_volumeDepth(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
- obj.volumeDepth = arg0;
- ToLua.SetBack(L, 1, obj);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index volumeDepth on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_colorFormat(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- UnityEngine.RenderTextureFormat arg0 = (UnityEngine.RenderTextureFormat)ToLua.CheckObject(L, 2, typeof(UnityEngine.RenderTextureFormat));
- obj.colorFormat = arg0;
- ToLua.SetBack(L, 1, obj);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index colorFormat on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_depthBufferBits(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
- obj.depthBufferBits = arg0;
- ToLua.SetBack(L, 1, obj);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index depthBufferBits on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_dimension(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- UnityEngine.Rendering.TextureDimension arg0 = (UnityEngine.Rendering.TextureDimension)ToLua.CheckObject(L, 2, typeof(UnityEngine.Rendering.TextureDimension));
- obj.dimension = arg0;
- ToLua.SetBack(L, 1, obj);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index dimension on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_shadowSamplingMode(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- UnityEngine.Rendering.ShadowSamplingMode arg0 = (UnityEngine.Rendering.ShadowSamplingMode)ToLua.CheckObject(L, 2, typeof(UnityEngine.Rendering.ShadowSamplingMode));
- obj.shadowSamplingMode = arg0;
- ToLua.SetBack(L, 1, obj);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index shadowSamplingMode on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_vrUsage(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- UnityEngine.VRTextureUsage arg0 = (UnityEngine.VRTextureUsage)ToLua.CheckObject(L, 2, typeof(UnityEngine.VRTextureUsage));
- obj.vrUsage = arg0;
- ToLua.SetBack(L, 1, obj);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index vrUsage on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_memoryless(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- UnityEngine.RenderTextureMemoryless arg0 = (UnityEngine.RenderTextureMemoryless)ToLua.CheckObject(L, 2, typeof(UnityEngine.RenderTextureMemoryless));
- obj.memoryless = arg0;
- ToLua.SetBack(L, 1, obj);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index memoryless on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_sRGB(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.sRGB = arg0;
- ToLua.SetBack(L, 1, obj);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index sRGB on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_useMipMap(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.useMipMap = arg0;
- ToLua.SetBack(L, 1, obj);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index useMipMap on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_autoGenerateMips(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.autoGenerateMips = arg0;
- ToLua.SetBack(L, 1, obj);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index autoGenerateMips on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_enableRandomWrite(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.enableRandomWrite = arg0;
- ToLua.SetBack(L, 1, obj);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableRandomWrite on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_bindMS(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- UnityEngine.RenderTextureDescriptor obj = (UnityEngine.RenderTextureDescriptor)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.bindMS = arg0;
- ToLua.SetBack(L, 1, obj);
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index bindMS on a nil value");
- }
- }
- }
|