A collection of processors which will be processed together in a single process call.

Constructor

new (universe:Universe)

Variables

@:value(new haxe.ds.StringMap<Float>())read onlyprocessorTimes:StringMap<Float> = new haxe.ds.StringMap<Float>()

The times of each individual processor

  **Note:** only generated when `profiling` is defined

processors:Array<Processor>

The processors grouped in this phase

@:value(0.0)read onlyprofileTime:Float = 0.0

The total time taken to run this phase

  **Note:** only generated when `profiling` is defined

Methods

addProcessor (processor:Processor):Phase

Add a processor to this phase

Parameters:

processor

the processor to add

Returns:

Phase

process ():Void

Call process on all grouped processors

removeProcessor (processor:Processor):Phase

Remove a processor from this phase

Parameters:

processor

the processor to remove

Returns:

Phase