Axiom.RenderSystems.OpenGL.GLPBRTTManager.Unbind C# (CSharp) 메소드

Unbind() 공개 메소드

public Unbind ( RenderTarget target ) : void
target Axiom.Graphics.RenderTarget
리턴 void
		public override void Unbind( RenderTarget target )
		{
			// copy on unbind
			object attr = target.GetCustomAttribute( "target" );
			if ( attr != null )
			{
				GLSurfaceDesc surface = (GLSurfaceDesc)attr;
				if ( surface.Buffer != null )
					( (GLTextureBuffer)surface.Buffer ).CopyFromFrameBuffer( surface.ZOffset );
			}
		}