<pipeline> (//pfx/effect/pass/subpass/pipeline)

A <pipeline> element within a <subpass> references an actual pipeline element that will be used to render provided a <condition> is met

In order to allow selection of different pipelines for different objects, this tag contains the conditions that must be satisfied in order for this particular pipeline to be selected to render an object.

It is intended that objects (Renderables) would “manually” be added by the application to subpasses, and the pipelines for them would be selected automatically based on these conditions.

The implementation should select the first suitable pipeline whose conditions are all satisfied.

XML Attributes (<pipeline> element)




This is used to match the name attribute of a pfx <pipeline> element which is going to be used for this subpass.

Child elements (<pipeline> element)




A condition that must be satisfied for this pipeline to be selectable.