Axiom.RenderSystems.OpenGLES.Android.AndroidSupport.GetConfigFromDrawable C# (CSharp) Метод

GetConfigFromDrawable() публичный Метод

public GetConfigFromDrawable ( Javax.Microedition.Khronos.Egl.EGLSurface drawable, int width, int height ) : Javax.Microedition.Khronos.Egl.EGLConfig
drawable Javax.Microedition.Khronos.Egl.EGLSurface
width int
height int
Результат Javax.Microedition.Khronos.Egl.EGLConfig
		public EGLConfig GetConfigFromDrawable( EGLSurface drawable, int width, int height )
		{
#warning CAN NOT CAST EGLCONFIG > INT[], how's that possible? :S
			throw new NotSupportedException();
			//EGLConfig glConfig = null;
			//if (!EGLCONTEXT.EGL11.EglQuerySurface(_glDisplay, drawable, Javax.Microedition.Khronos.Egl.EGL10Consts.EglConfigId, null))
			//{
			//    throw new AxiomException("Fail to get config from drawable");
			//}
			//EGLCONTEXT.EGL11.EglQuerySurface(_glDisplay, drawable, Javax.Microedition.Khronos.Egl.EGL10Consts.EglWidth, new int[] { width });
			//EGLCONTEXT.EGL11.EglQuerySurface(_glDisplay, drawable, Javax.Microedition.Khronos.Egl.EGL10Consts.EglHeight, new int[] { height });

			//return glConfig;
		}