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 );
}
}