Phaser API Documentation

  Version: 
addTextureToBatch(texture)

Description:

Adds the given texture to the current WebGL Pipeline Batch Entry and increases the batch entry unit and maxUnit values by 1.

Parameters:

name type description
texture Phaser.Renderer.WebGL.Wrappers.WebGLTextureWrapper

The texture assigned to this batch entry.

Since: 3.60.0