Axiom.RenderSystems.OpenGLES.GLESTextureBuffer.Blit C# (CSharp) Method

Blit() public method

public Blit ( Axiom.Graphics.HardwarePixelBuffer src, BasicBox srcBox, BasicBox dstBox ) : void
src Axiom.Graphics.HardwarePixelBuffer
srcBox Axiom.Media.BasicBox
dstBox Axiom.Media.BasicBox
return void
		public override void Blit( HardwarePixelBuffer src, BasicBox srcBox, BasicBox dstBox )
		{
			GLESTextureBuffer srct = (GLESTextureBuffer)src;
			/// TODO: Check for FBO support first
			/// Destination texture must be 2D
			/// Source texture must be 2D
			if ( ( ( (int)src.Usage & (int)TextureUsage.RenderTarget ) != (int)TextureUsage.RenderTarget ) && ( srct._target == All.Texture2D ) )
			{
				BlitFromTexture( srct, srcBox, dstBox );
			}
			else
			{
				base.Blit( src, srcBox, dstBox );
			}
		}
		/// <summary>