File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,6 +51,16 @@ var Pipeline = {
5151 */
5252 hasPostPipeline : false ,
5353
54+ /**
55+ * Does this Game Object manage its Post Pipeline directly?
56+ *
57+ * @name Phaser.GameObjects.Components.Pipeline#manualPostPipeline
58+ * @type {boolean }
59+ * @webglOnly
60+ * @since 3.50.0
61+ */
62+ manualPostPipeline : false ,
63+
5464 /**
5565 * The WebGL Post FX Pipelines this Game Object uses for post-render effects.
5666 *
Original file line number Diff line number Diff line change @@ -1145,7 +1145,7 @@ var WebGLPipeline = new Class({
11451145 {
11461146 if ( unit === undefined ) { unit = this . currentUnit ; }
11471147
1148- var postPipeline = ( gameObject && gameObject . hasPostPipeline ) ;
1148+ var postPipeline = ( gameObject && gameObject . hasPostPipeline && ! gameObject . manualPostPipeline ) ;
11491149
11501150 if ( postPipeline )
11511151 {
You can’t perform that action at this time.
0 commit comments