Axiom.RenderSystems.OpenGLES.GLESFrameBufferObject.BindSurface C# (CSharp) Method

BindSurface() public method

Bind a surface to a certain attachment point.
public BindSurface ( int attachment, GLESSurfaceDescription target ) : void
attachment int 0..MaxMultipleRenderTargets-1
target GLESSurfaceDescription
return void
		public void BindSurface( int attachment, GLESSurfaceDescription target )
		{
			Contract.Requires( attachment < Configuration.Config.MaxMultipleRenderTargets );
			_color[ attachment ] = target;
			// Re-initialise
			if ( _color[ 0 ].Buffer != null )
				Intialize();
		}
		/// <summary>