Axiom.Demos.Compositor.HdrLogic.CompositorInstanceDestroyed C# (CSharp) Method

CompositorInstanceDestroyed() public method

Called when a compositor instance has been destroyed
The chain that contained the compositor is still alive during this call.
public CompositorInstanceDestroyed ( CompositorInstance destroyedInstance ) : void
destroyedInstance Axiom.Graphics.CompositorInstance
return void
			public override void CompositorInstanceDestroyed( CompositorInstance destroyedInstance )
			{
				destroyedInstance.MaterialRender -= new CompositorInstanceMaterialEventHandler( OnMaterialRender );
				destroyedInstance.MaterialSetup -= new CompositorInstanceMaterialEventHandler( OnMaterialSetup );
			}