Phaser API Documentation

  Version: 
resetTextures([all])

Description:

Flushes the current pipeline, then resets the first two textures back to the default temporary textures, resets the start active counter and sets texture unit 1 as being active.

Parameters:

name type arguments Default description
all boolean <optional> false

Reset all textures, or just the first two?

Since: 3.50.0