Phaser API Documentation

  Version: 
getMaxTextureSize()

Description:

Returns the largest texture size (either width or height) that can be created. Note that VRAM may not allow a texture of any given size, it just expresses hardware / driver support for a given size.

Returns:
Description:

The maximum supported texture size.

Type:
  • number
Since: 3.8.0