WebGLPipeline.hasBooted is a new boolean property that tracks if the pipeline has been booted or not, which is now far more important in 3.5 than in previous versions. This is checked in the WebGLRenderer.addPipeline method, and if not set, the pipeline is booted. Fix #5251 #5255

This commit is contained in:
Richard Davey 2020-08-20 10:47:21 +01:00
parent 50c629dca8
commit e3142f313f

View file

@ -255,6 +255,16 @@ var WebGLPipeline = new Class({
* @since 3.50.0
*/
this.forceZero = false;
/**
* Indicates if the current pipeline has booted or not.
*
* @name Phaser.Renderer.WebGL.WebGLPipeline#hasBooted
* @type {boolean}
* @readonly
* @since 3.50.0
*/
this.hasBooted = false;
},
/**
@ -296,6 +306,8 @@ var WebGLPipeline = new Class({
}
}
this.hasBooted = true;
return this;
},