mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 22:18:29 +00:00
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:
parent
98e85173c3
commit
f50560eba8
1 changed files with 0 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue