Axiom.RenderSystems.OpenGLES.IPhone.IPhoneContext.IPhoneContext C# (CSharp) Метод

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

public IPhoneContext ( IGraphicsContext glContext, GLESSupport support ) : System
glContext IGraphicsContext
support GLESSupport
Результат System
		public IPhoneContext( IGraphicsContext glContext, 
		                         GLESSupport support )
		{
			_glSupport = support;
			//_drawable = drawable;
			_context = glContext;
			//_config = fbconfig;
			//_eglDisplay = eglDisplay;

			//Contract.Requires(_drawable != null);
			//GLESRenderSystem rendersystem = (GLESRenderSystem)Root.Instance.RenderSystem;
			//GLESContext mainContext = rendersystem.MainContext;
			//EGLCONTEXT shareContext = null;
			//if (mainContext != null)
			//{
			//    shareContext = mainContext.con;
			//}
			//if (mainContext == null)
			//{
			//    throw new AxiomException("Unable to create a suitable EGLContext");
			//}

			// _context = _glSupport.CreateNewContext(_eglDisplay, _config, shareContext);
		}