namespace android.opengl
{
	[global::MonoJavaBridge.JavaClass()]
	public partial class ETC1Util : java.lang.Object
	{
		internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
		protected ETC1Util(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
		{
		}
		[global::MonoJavaBridge.JavaClass()]
		public partial class ETC1Texture : java.lang.Object
		{
			internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
			protected ETC1Texture(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
			{
			}
			public new global::java.nio.ByteBuffer Data
			{
				get
				{
					return getData();
				}
			}
			private static global::MonoJavaBridge.MethodId _m0;
			public virtual global::java.nio.ByteBuffer getData()
			{
				return global::MonoJavaBridge.JavaBridge.CallObjectMethod(this, global::android.opengl.ETC1Util.ETC1Texture.staticClass, "getData", "()Ljava/nio/ByteBuffer;", ref global::android.opengl.ETC1Util.ETC1Texture._m0) as java.nio.ByteBuffer;
			}
			public new int Width
			{
				get
				{
					return getWidth();
				}
			}
			private static global::MonoJavaBridge.MethodId _m1;
			public virtual int getWidth()
			{
				return global::MonoJavaBridge.JavaBridge.CallIntMethod(this, global::android.opengl.ETC1Util.ETC1Texture.staticClass, "getWidth", "()I", ref global::android.opengl.ETC1Util.ETC1Texture._m1);
			}
			public new int Height
			{
				get
				{
					return getHeight();
				}
			}
			private static global::MonoJavaBridge.MethodId _m2;
			public virtual int getHeight()
			{
				return global::MonoJavaBridge.JavaBridge.CallIntMethod(this, global::android.opengl.ETC1Util.ETC1Texture.staticClass, "getHeight", "()I", ref global::android.opengl.ETC1Util.ETC1Texture._m2);
			}
			private static global::MonoJavaBridge.MethodId _m3;
			public ETC1Texture(int arg0, int arg1, java.nio.ByteBuffer arg2) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
			{
				global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
				if (global::android.opengl.ETC1Util.ETC1Texture._m3.native == global::System.IntPtr.Zero)
					global::android.opengl.ETC1Util.ETC1Texture._m3 = @__env.GetMethodIDNoThrow(global::android.opengl.ETC1Util.ETC1Texture.staticClass, "<init>", "(IILjava/nio/ByteBuffer;)V");
				global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(android.opengl.ETC1Util.ETC1Texture.staticClass, global::android.opengl.ETC1Util.ETC1Texture._m3, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2));
				Init(@__env, handle);
			}
			static ETC1Texture()
			{
				global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
				global::android.opengl.ETC1Util.ETC1Texture.staticClass = @__env.NewGlobalRef(@__env.FindClass("android/opengl/ETC1Util$ETC1Texture"));
			}
		}
		private static global::MonoJavaBridge.MethodId _m0;
		public static void loadTexture(int arg0, int arg1, int arg2, int arg3, int arg4, java.io.InputStream arg5)
		{
			global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
			if (global::android.opengl.ETC1Util._m0.native == global::System.IntPtr.Zero)
				global::android.opengl.ETC1Util._m0 = @__env.GetStaticMethodIDNoThrow(global::android.opengl.ETC1Util.staticClass, "loadTexture", "(IIIIILjava/io/InputStream;)V");
			@__env.CallStaticVoidMethod(android.opengl.ETC1Util.staticClass, global::android.opengl.ETC1Util._m0, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg4), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg5));
		}
		private static global::MonoJavaBridge.MethodId _m1;
		public static void loadTexture(int arg0, int arg1, int arg2, int arg3, int arg4, android.opengl.ETC1Util.ETC1Texture arg5)
		{
			global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
			if (global::android.opengl.ETC1Util._m1.native == global::System.IntPtr.Zero)
				global::android.opengl.ETC1Util._m1 = @__env.GetStaticMethodIDNoThrow(global::android.opengl.ETC1Util.staticClass, "loadTexture", "(IIIIILandroid/opengl/ETC1Util$ETC1Texture;)V");
			@__env.CallStaticVoidMethod(android.opengl.ETC1Util.staticClass, global::android.opengl.ETC1Util._m1, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg4), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg5));
		}
		private static global::MonoJavaBridge.MethodId _m2;
		public static bool isETC1Supported()
		{
			global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
			if (global::android.opengl.ETC1Util._m2.native == global::System.IntPtr.Zero)
				global::android.opengl.ETC1Util._m2 = @__env.GetStaticMethodIDNoThrow(global::android.opengl.ETC1Util.staticClass, "isETC1Supported", "()Z");
			return @__env.CallStaticBooleanMethod(android.opengl.ETC1Util.staticClass, global::android.opengl.ETC1Util._m2);
		}
		private static global::MonoJavaBridge.MethodId _m3;
		public static global::android.opengl.ETC1Util.ETC1Texture createTexture(java.io.InputStream arg0)
		{
			global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
			if (global::android.opengl.ETC1Util._m3.native == global::System.IntPtr.Zero)
				global::android.opengl.ETC1Util._m3 = @__env.GetStaticMethodIDNoThrow(global::android.opengl.ETC1Util.staticClass, "createTexture", "(Ljava/io/InputStream;)Landroid/opengl/ETC1Util$ETC1Texture;");
			return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(android.opengl.ETC1Util.staticClass, global::android.opengl.ETC1Util._m3, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as android.opengl.ETC1Util.ETC1Texture;
		}
		private static global::MonoJavaBridge.MethodId _m4;
		public static global::android.opengl.ETC1Util.ETC1Texture compressTexture(java.nio.Buffer arg0, int arg1, int arg2, int arg3, int arg4)
		{
			global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
			if (global::android.opengl.ETC1Util._m4.native == global::System.IntPtr.Zero)
				global::android.opengl.ETC1Util._m4 = @__env.GetStaticMethodIDNoThrow(global::android.opengl.ETC1Util.staticClass, "compressTexture", "(Ljava/nio/Buffer;IIII)Landroid/opengl/ETC1Util$ETC1Texture;");
			return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(android.opengl.ETC1Util.staticClass, global::android.opengl.ETC1Util._m4, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg4))) as android.opengl.ETC1Util.ETC1Texture;
		}
		private static global::MonoJavaBridge.MethodId _m5;
		public static void writeTexture(android.opengl.ETC1Util.ETC1Texture arg0, java.io.OutputStream arg1)
		{
			global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
			if (global::android.opengl.ETC1Util._m5.native == global::System.IntPtr.Zero)
				global::android.opengl.ETC1Util._m5 = @__env.GetStaticMethodIDNoThrow(global::android.opengl.ETC1Util.staticClass, "writeTexture", "(Landroid/opengl/ETC1Util$ETC1Texture;Ljava/io/OutputStream;)V");
			@__env.CallStaticVoidMethod(android.opengl.ETC1Util.staticClass, global::android.opengl.ETC1Util._m5, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
		}
		private static global::MonoJavaBridge.MethodId _m6;
		public ETC1Util() : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
		{
			global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
			if (global::android.opengl.ETC1Util._m6.native == global::System.IntPtr.Zero)
				global::android.opengl.ETC1Util._m6 = @__env.GetMethodIDNoThrow(global::android.opengl.ETC1Util.staticClass, "<init>", "()V");
			global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(android.opengl.ETC1Util.staticClass, global::android.opengl.ETC1Util._m6);
			Init(@__env, handle);
		}
		static ETC1Util()
		{
			global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
			global::android.opengl.ETC1Util.staticClass = @__env.NewGlobalRef(@__env.FindClass("android/opengl/ETC1Util"));
		}
	}
}
