The WebGLRenderer.getMaxTextures method has been removed. This is no longer needed as you can use the WebGLRenderer.maxTextures property instead.

This commit is contained in:
Richard Davey 2020-10-27 14:36:43 +00:00
parent 98e85173c3
commit f50560eba8

View file

@ -2770,19 +2770,6 @@ var WebGLRenderer = new Class({
return this;
},
/**
* Returns the maximum number of texture units that can be used in a fragment shader.
*
* @method Phaser.Renderer.WebGL.WebGLRenderer#getMaxTextures
* @since 3.8.0
*
* @return {integer} The maximum number of textures WebGL supports.
*/
getMaxTextures: function ()
{
return this.config.maxTextures;
},
/**
* 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