예제 #1
0
    static bool RenderTexture_GetTemporary__Int32__Int32__Int32__RenderTextureFormat__RenderTextureReadWrite(JSVCall vc, int argc)
    {
        int len = argc;

        if (len == 5)
        {
            System.Int32 arg0 = (System.Int32)JSApi.getInt32((int)JSApi.GetType.Arg);
            System.Int32 arg1 = (System.Int32)JSApi.getInt32((int)JSApi.GetType.Arg);
            System.Int32 arg2 = (System.Int32)JSApi.getInt32((int)JSApi.GetType.Arg);
            UnityEngine.RenderTextureFormat    arg3 = (UnityEngine.RenderTextureFormat)JSApi.getEnum((int)JSApi.GetType.Arg);
            UnityEngine.RenderTextureReadWrite arg4 = (UnityEngine.RenderTextureReadWrite)JSApi.getEnum((int)JSApi.GetType.Arg);
            JSMgr.datax.setObject((int)JSApi.SetType.Rval, UnityEngine.RenderTexture.GetTemporary(arg0, arg1, arg2, arg3, arg4));
        }

        return(true);
    }
예제 #2
0
////////////////////// RenderTexture ///////////////////////////////////////
// constructors

    static bool RenderTexture_RenderTexture1(JSVCall vc, int argc)
    {
        int _this = JSApi.getObject((int)JSApi.GetType.Arg);

        JSApi.attachFinalizerObject(_this);
        --argc;

        int len = argc;

        if (len == 5)
        {
            System.Int32 arg0 = (System.Int32)JSApi.getInt32((int)JSApi.GetType.Arg);
            System.Int32 arg1 = (System.Int32)JSApi.getInt32((int)JSApi.GetType.Arg);
            System.Int32 arg2 = (System.Int32)JSApi.getInt32((int)JSApi.GetType.Arg);
            UnityEngine.RenderTextureFormat    arg3 = (UnityEngine.RenderTextureFormat)JSApi.getEnum((int)JSApi.GetType.Arg);
            UnityEngine.RenderTextureReadWrite arg4 = (UnityEngine.RenderTextureReadWrite)JSApi.getEnum((int)JSApi.GetType.Arg);
            JSMgr.addJSCSRel(_this, new UnityEngine.RenderTexture(arg0, arg1, arg2, arg3, arg4));
        }

        return(true);
    }