set_mode


Description:

public bool set_mode (PipelineFlags mode)

Sets the mode of the pipeline.

Note that the pipeline will be set to NULL during this call to perform the necessary changes. You will need to set the state again yourself after calling this.

Note:

**NOTE**: [Rendering settings](ges_pipeline_set_render_settings) need to be set before setting mode to RENDER or SMART_RENDER, the call to this method will fail otherwise.

Parameters:

this

A Pipeline

mode

The mode to set for this

Returns:

true if the mode of this was successfully set to mode.