Exemplo n.º 1
0
        static IntPtr n_GetActivatedMaterialGroupName_Lde_javagl_obj_ObjFace_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::JavaGl.Obj.IReadableObj __this = global::Java.Lang.Object.GetObject <global::JavaGl.Obj.IReadableObj> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::JavaGl.Obj.IObjFace     p0     = (global::JavaGl.Obj.IObjFace)global::Java.Lang.Object.GetObject <global::JavaGl.Obj.IObjFace> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.NewString(__this.GetActivatedMaterialGroupName(p0));

            return(__ret);
        }
Exemplo n.º 2
0
        static IntPtr n_GetMaterialGroup_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::JavaGl.Obj.IReadableObj __this = global::Java.Lang.Object.GetObject <global::JavaGl.Obj.IReadableObj> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0    = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.GetMaterialGroup(p0));

            return(__ret);
        }
Exemplo n.º 3
0
        static IntPtr n_GetActivatedGroupNames_Lde_javagl_obj_ObjFace_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::JavaGl.Obj.IReadableObj __this = global::Java.Lang.Object.GetObject <global::JavaGl.Obj.IReadableObj> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::JavaGl.Obj.IObjFace     p0     = (global::JavaGl.Obj.IObjFace)global::Java.Lang.Object.GetObject <global::JavaGl.Obj.IObjFace> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = global::Android.Runtime.JavaSet <string> .ToLocalJniHandle(__this.GetActivatedGroupNames(p0));

            return(__ret);
        }
Exemplo n.º 4
0
 public static unsafe global::JavaGl.Obj.IObj ConvertToRenderable(global::JavaGl.Obj.IReadableObj input)
 {
     if (id_convertToRenderable_Lde_javagl_obj_ReadableObj_ == IntPtr.Zero)
     {
         id_convertToRenderable_Lde_javagl_obj_ReadableObj_ = JNIEnv.GetStaticMethodID(class_ref, "convertToRenderable", "(Lde/javagl/obj/ReadableObj;)Lde/javagl/obj/Obj;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(input);
         global::JavaGl.Obj.IObj __ret = global::Java.Lang.Object.GetObject <global::JavaGl.Obj.IObj> (JNIEnv.CallStaticObjectMethod(class_ref, id_convertToRenderable_Lde_javagl_obj_ReadableObj_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Exemplo n.º 5
0
 public static unsafe string CreateInfoString(global::JavaGl.Obj.IReadableObj obj)
 {
     if (id_createInfoString_Lde_javagl_obj_ReadableObj_ == IntPtr.Zero)
     {
         id_createInfoString_Lde_javagl_obj_ReadableObj_ = JNIEnv.GetStaticMethodID(class_ref, "createInfoString", "(Lde/javagl/obj/ReadableObj;)Ljava/lang/String;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(obj);
         string __ret = JNIEnv.GetString(JNIEnv.CallStaticObjectMethod(class_ref, id_createInfoString_Lde_javagl_obj_ReadableObj_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Exemplo n.º 6
0
 public static unsafe int[] GetFaceNormalIndicesArray(global::JavaGl.Obj.IReadableObj obj)
 {
     if (id_getFaceNormalIndicesArray_Lde_javagl_obj_ReadableObj_ == IntPtr.Zero)
     {
         id_getFaceNormalIndicesArray_Lde_javagl_obj_ReadableObj_ = JNIEnv.GetStaticMethodID(class_ref, "getFaceNormalIndicesArray", "(Lde/javagl/obj/ReadableObj;)[I");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(obj);
         int[] __ret = (int[])JNIEnv.GetArray(JNIEnv.CallStaticObjectMethod(class_ref, id_getFaceNormalIndicesArray_Lde_javagl_obj_ReadableObj_, __args), JniHandleOwnership.TransferLocalRef, typeof(int));
         return(__ret);
     } finally {
     }
 }
Exemplo n.º 7
0
 public static unsafe void GetFaceNormalIndices(global::JavaGl.Obj.IReadableObj obj, global::Java.Nio.IntBuffer target)
 {
     if (id_getFaceNormalIndices_Lde_javagl_obj_ReadableObj_Ljava_nio_IntBuffer_ == IntPtr.Zero)
     {
         id_getFaceNormalIndices_Lde_javagl_obj_ReadableObj_Ljava_nio_IntBuffer_ = JNIEnv.GetStaticMethodID(class_ref, "getFaceNormalIndices", "(Lde/javagl/obj/ReadableObj;Ljava/nio/IntBuffer;)V");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(obj);
         __args [1] = new JValue(target);
         JNIEnv.CallStaticVoidMethod(class_ref, id_getFaceNormalIndices_Lde_javagl_obj_ReadableObj_Ljava_nio_IntBuffer_, __args);
     } finally {
     }
 }
Exemplo n.º 8
0
 public static unsafe global::Java.Nio.FloatBuffer GetVertices(global::JavaGl.Obj.IReadableObj obj)
 {
     if (id_getVertices_Lde_javagl_obj_ReadableObj_ == IntPtr.Zero)
     {
         id_getVertices_Lde_javagl_obj_ReadableObj_ = JNIEnv.GetStaticMethodID(class_ref, "getVertices", "(Lde/javagl/obj/ReadableObj;)Ljava/nio/FloatBuffer;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(obj);
         global::Java.Nio.FloatBuffer __ret = global::Java.Lang.Object.GetObject <global::Java.Nio.FloatBuffer> (JNIEnv.CallStaticObjectMethod(class_ref, id_getVertices_Lde_javagl_obj_ReadableObj_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Exemplo n.º 9
0
 public static unsafe int GetTotalNumFaceVertices(global::JavaGl.Obj.IReadableObj obj)
 {
     if (id_getTotalNumFaceVertices_Lde_javagl_obj_ReadableObj_ == IntPtr.Zero)
     {
         id_getTotalNumFaceVertices_Lde_javagl_obj_ReadableObj_ = JNIEnv.GetStaticMethodID(class_ref, "getTotalNumFaceVertices", "(Lde/javagl/obj/ReadableObj;)I");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(obj);
         int __ret = JNIEnv.CallStaticIntMethod(class_ref, id_getTotalNumFaceVertices_Lde_javagl_obj_ReadableObj_, __args);
         return(__ret);
     } finally {
     }
 }
Exemplo n.º 10
0
 public static unsafe void Write(global::JavaGl.Obj.IReadableObj input, global::Java.IO.Writer writer)
 {
     if (id_write_Lde_javagl_obj_ReadableObj_Ljava_io_Writer_ == IntPtr.Zero)
     {
         id_write_Lde_javagl_obj_ReadableObj_Ljava_io_Writer_ = JNIEnv.GetStaticMethodID(class_ref, "write", "(Lde/javagl/obj/ReadableObj;Ljava/io/Writer;)V");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(input);
         __args [1] = new JValue(writer);
         JNIEnv.CallStaticVoidMethod(class_ref, id_write_Lde_javagl_obj_ReadableObj_Ljava_io_Writer_, __args);
     } finally {
     }
 }
Exemplo n.º 11
0
 public static unsafe float[] GetTexCoordsArray(global::JavaGl.Obj.IReadableObj obj, int dimensions)
 {
     if (id_getTexCoordsArray_Lde_javagl_obj_ReadableObj_I == IntPtr.Zero)
     {
         id_getTexCoordsArray_Lde_javagl_obj_ReadableObj_I = JNIEnv.GetStaticMethodID(class_ref, "getTexCoordsArray", "(Lde/javagl/obj/ReadableObj;I)[F");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(obj);
         __args [1] = new JValue(dimensions);
         float[] __ret = (float[])JNIEnv.GetArray(JNIEnv.CallStaticObjectMethod(class_ref, id_getTexCoordsArray_Lde_javagl_obj_ReadableObj_I, __args), JniHandleOwnership.TransferLocalRef, typeof(float));
         return(__ret);
     } finally {
     }
 }
Exemplo n.º 12
0
 public static unsafe void GetTexCoords(global::JavaGl.Obj.IReadableObj obj, global::Java.Nio.FloatBuffer target, int dimensions)
 {
     if (id_getTexCoords_Lde_javagl_obj_ReadableObj_Ljava_nio_FloatBuffer_I == IntPtr.Zero)
     {
         id_getTexCoords_Lde_javagl_obj_ReadableObj_Ljava_nio_FloatBuffer_I = JNIEnv.GetStaticMethodID(class_ref, "getTexCoords", "(Lde/javagl/obj/ReadableObj;Ljava/nio/FloatBuffer;I)V");
     }
     try {
         JValue *__args = stackalloc JValue [3];
         __args [0] = new JValue(obj);
         __args [1] = new JValue(target);
         __args [2] = new JValue(dimensions);
         JNIEnv.CallStaticVoidMethod(class_ref, id_getTexCoords_Lde_javagl_obj_ReadableObj_Ljava_nio_FloatBuffer_I, __args);
     } finally {
     }
 }
Exemplo n.º 13
0
        public static unsafe void Write(global::JavaGl.Obj.IReadableObj input, global::System.IO.Stream outputStream)
        {
            if (id_write_Lde_javagl_obj_ReadableObj_Ljava_io_OutputStream_ == IntPtr.Zero)
            {
                id_write_Lde_javagl_obj_ReadableObj_Ljava_io_OutputStream_ = JNIEnv.GetStaticMethodID(class_ref, "write", "(Lde/javagl/obj/ReadableObj;Ljava/io/OutputStream;)V");
            }
            IntPtr native_outputStream = global::Android.Runtime.OutputStreamAdapter.ToLocalJniHandle(outputStream);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(input);
                __args [1] = new JValue(native_outputStream);
                JNIEnv.CallStaticVoidMethod(class_ref, id_write_Lde_javagl_obj_ReadableObj_Ljava_io_OutputStream_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_outputStream);
            }
        }
Exemplo n.º 14
0
        public static unsafe global::Java.Lang.Object ConvertToRenderable(global::JavaGl.Obj.IReadableObj input, global::Java.Lang.Object output)
        {
            if (id_convertToRenderable_Lde_javagl_obj_ReadableObj_Lde_javagl_obj_WritableObj_ == IntPtr.Zero)
            {
                id_convertToRenderable_Lde_javagl_obj_ReadableObj_Lde_javagl_obj_WritableObj_ = JNIEnv.GetStaticMethodID(class_ref, "convertToRenderable", "(Lde/javagl/obj/ReadableObj;Lde/javagl/obj/WritableObj;)Lde/javagl/obj/WritableObj;");
            }
            IntPtr native_output = JNIEnv.ToLocalJniHandle(output);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(input);
                __args [1] = new JValue(native_output);
                global::Java.Lang.Object __ret = (Java.Lang.Object)global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (JNIEnv.CallStaticObjectMethod(class_ref, id_convertToRenderable_Lde_javagl_obj_ReadableObj_Lde_javagl_obj_WritableObj_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_output);
            }
        }
Exemplo n.º 15
0
        public static unsafe global::JavaGl.Obj.IObj GroupToObj(global::JavaGl.Obj.IReadableObj input, global::JavaGl.Obj.IObjGroup inputGroup, global::System.Collections.Generic.IList <global::Java.Lang.Integer> vertexIndexMapping)
        {
            if (id_groupToObj_Lde_javagl_obj_ReadableObj_Lde_javagl_obj_ObjGroup_Ljava_util_List_ == IntPtr.Zero)
            {
                id_groupToObj_Lde_javagl_obj_ReadableObj_Lde_javagl_obj_ObjGroup_Ljava_util_List_ = JNIEnv.GetStaticMethodID(class_ref, "groupToObj", "(Lde/javagl/obj/ReadableObj;Lde/javagl/obj/ObjGroup;Ljava/util/List;)Lde/javagl/obj/Obj;");
            }
            IntPtr native_vertexIndexMapping = global::Android.Runtime.JavaList <global::Java.Lang.Integer> .ToLocalJniHandle(vertexIndexMapping);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(input);
                __args [1] = new JValue(inputGroup);
                __args [2] = new JValue(native_vertexIndexMapping);
                global::JavaGl.Obj.IObj __ret = global::Java.Lang.Object.GetObject <global::JavaGl.Obj.IObj> (JNIEnv.CallStaticObjectMethod(class_ref, id_groupToObj_Lde_javagl_obj_ReadableObj_Lde_javagl_obj_ObjGroup_Ljava_util_List_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_vertexIndexMapping);
            }
        }
Exemplo n.º 16
0
        public static unsafe global::Java.Lang.Object MakeTexCoordsUnique(global::JavaGl.Obj.IReadableObj input, global::System.Collections.Generic.IList <global::Java.Lang.Integer> indexMapping, global::Java.Lang.Object output)
        {
            if (id_makeTexCoordsUnique_Lde_javagl_obj_ReadableObj_Ljava_util_List_Lde_javagl_obj_WritableObj_ == IntPtr.Zero)
            {
                id_makeTexCoordsUnique_Lde_javagl_obj_ReadableObj_Ljava_util_List_Lde_javagl_obj_WritableObj_ = JNIEnv.GetStaticMethodID(class_ref, "makeTexCoordsUnique", "(Lde/javagl/obj/ReadableObj;Ljava/util/List;Lde/javagl/obj/WritableObj;)Lde/javagl/obj/WritableObj;");
            }
            IntPtr native_indexMapping = global::Android.Runtime.JavaList <global::Java.Lang.Integer> .ToLocalJniHandle(indexMapping);

            IntPtr native_output = JNIEnv.ToLocalJniHandle(output);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(input);
                __args [1] = new JValue(native_indexMapping);
                __args [2] = new JValue(native_output);
                global::Java.Lang.Object __ret = (Java.Lang.Object)global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (JNIEnv.CallStaticObjectMethod(class_ref, id_makeTexCoordsUnique_Lde_javagl_obj_ReadableObj_Ljava_util_List_Lde_javagl_obj_WritableObj_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_indexMapping);
                JNIEnv.DeleteLocalRef(native_output);
            }
        }
Exemplo n.º 17
0
 static IntPtr n_GetMtlFileNames(IntPtr jnienv, IntPtr native__this)
 {
     global::JavaGl.Obj.IReadableObj __this = global::Java.Lang.Object.GetObject <global::JavaGl.Obj.IReadableObj> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(global::Android.Runtime.JavaList <string> .ToLocalJniHandle(__this.MtlFileNames));
 }
Exemplo n.º 18
0
 static int n_GetNumVertices(IntPtr jnienv, IntPtr native__this)
 {
     global::JavaGl.Obj.IReadableObj __this = global::Java.Lang.Object.GetObject <global::JavaGl.Obj.IReadableObj> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.NumVertices);
 }
Exemplo n.º 19
0
 static IntPtr n_GetVertex_I(IntPtr jnienv, IntPtr native__this, int p0)
 {
     global::JavaGl.Obj.IReadableObj __this = global::Java.Lang.Object.GetObject <global::JavaGl.Obj.IReadableObj> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.GetVertex(p0)));
 }