protected virtual void Reconfigure( String renderer, NameValuePairList options )
{
// save current sample state
this.LastSample = CurrentSample;
if ( CurrentSample != null )
CurrentSample.SaveState( this.LastSampleState );
this.NextRenderer = renderer;
Axiom.Graphics.RenderSystem rs = this.Root.RenderSystems[ renderer ];
// set all given render system options
foreach ( var option in options )
{
rs.ConfigOptions[ option.Key ].Value = option.Value;
}
this.IsLastRun = false; // we want to go again with the new settings
this.Root.QueueEndRendering(); // break from render loop
}