C# Class Axiom.Graphics.CompositorLogic

Implementation base class for compositor logics, which can be automatically bound to compositors, allowing per-compositor logic (such as attaching a relevant listener) to happen automatically.
All methods have empty implementations to not force an implementer into extending all of them.
Inheritance: ICompositorLogic
Show file Open project: WolfgangSt/axiom

Public Methods

Method Description
CompositorInstanceCreated ( CompositorInstance newInstance ) : void

Called when a compositor instance has been created.

This happens after its setup was finished, so the chain is also accessible. This is an ideal method to automatically attach a compositor listener.

CompositorInstanceDestroyed ( CompositorInstance destroyedInstance ) : void

Called when a compositor instance has been destroyed

The chain that contained the compositor is still alive during this call.

Method Details

CompositorInstanceCreated() public method

Called when a compositor instance has been created.
This happens after its setup was finished, so the chain is also accessible. This is an ideal method to automatically attach a compositor listener.
public CompositorInstanceCreated ( CompositorInstance newInstance ) : void
newInstance CompositorInstance
return void

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 CompositorInstance
return void