Activates the Texture Source and assigns it the next available texture unit. If none are available, it will flush the current pipeline first.
name | type | description |
---|---|---|
textureSource | Phaser.Textures.TextureSource |
The Texture Source to be assigned the texture unit. |
The texture unit that was assigned to the Texture Source.