isLastEnabledPass( passIndex ) {

		for ( let i = passIndex + 1; i < this.passes.length; i ++ ) {

			if ( this.passes[ i ].enabled ) {

				return false;

			}

		}

		return true;

	}
Returns `true` if the pass for the given index is the last enabled pass in the pass chain.

@param {number} passIndex - The pass index.
@return {boolean} Whether the pass for the given index is the last pass in the pass chain.