Adds the given texture to the current WebGL Pipeline Batch Entry and increases the batch entry unit and maxUnit values by 1.
name | type | description |
---|---|---|
texture | Phaser.Renderer.WebGL.Wrappers.WebGLTextureWrapper |
The texture assigned to this batch entry. |