FillDrawCall() private method

Fill the geometry for the specified draw call.
private FillDrawCall ( UIDrawCall, dc ) : bool
dc UIDrawCall,
return bool
Ejemplo n.º 1
0
 static public int FillDrawCall(IntPtr l)
 {
     try {
         UIPanel    self = (UIPanel)checkSelf(l);
         UIDrawCall a1;
         checkType(l, 2, out a1);
         var ret = self.FillDrawCall(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Ejemplo n.º 2
0
	static int FillDrawCall(IntPtr L)
	{
		try
		{
			ToLua.CheckArgsCount(L, 2);
			UIPanel obj = (UIPanel)ToLua.CheckObject<UIPanel>(L, 1);
			UIDrawCall arg0 = (UIDrawCall)ToLua.CheckObject<UIDrawCall>(L, 2);
			bool o = obj.FillDrawCall(arg0);
			LuaDLL.lua_pushboolean(L, o);
			return 1;
		}
		catch (Exception e)
		{
			return LuaDLL.toluaL_exception(L, e);
		}
	}