Debug logs

This commit is contained in:
Richard Davey 2023-03-02 18:46:23 +00:00
parent 4877efbe36
commit fab1acd022

View file

@ -1242,6 +1242,8 @@ var WebGLPipeline = new Class({
*/
preBatch: function (gameObject)
{
this.renderer.log('WebGLPipe.preBatch', (this.currentRenderTarget) ? 'with RT' : 'without RT');
if (this.currentRenderTarget)
{
this.currentRenderTarget.bind();
@ -1271,6 +1273,8 @@ var WebGLPipeline = new Class({
*/
postBatch: function (gameObject)
{
this.renderer.log('WebGLPipe.postBatch');
this.onDraw(this.currentRenderTarget);
this.onPostBatch(gameObject);