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 WebGLTexture

The WebGLTexture assigned to this batch entry.

Since: 3.60.0