public void UnbindSurface( int attachment ) { //assert( attachment < OGRE_MAX_MULTIPLE_RENDER_TARGETS ); _color[ attachment ].Buffer = null; // Re-initialise if buffer 0 still bound if ( _color[ 0 ].Buffer == null ) { _initialize(); } }